From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:38584 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726475AbeKSTWd (ORCPT ); Mon, 19 Nov 2018 14:22:33 -0500 Date: Mon, 19 Nov 2018 09:59:31 +0100 From: Pavel Machek To: shuah@kernel.org Cc: mchehab@kernel.org, perex@perex.cz, tiwai@suse.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [RFC PATCH v8 1/4] media: Media Device Allocator API Message-ID: <20181119085931.GA28607@amd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: Sender: linux-media-owner@vger.kernel.org List-ID: --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2018-11-01 18:31:30, shuah@kernel.org wrote: > From: Shuah Khan >=20 > Media Device Allocator API to allows multiple drivers share a media devic= e. > Using this API, drivers can allocate a media device with the shared struct > device as the key. Once the media device is allocated by a driver, other > drivers can get a reference to it. The media device is released when all > the references are released. Sounds like a ... bad idea? That's what new "media control" framework is for, no? Why do you need this? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlvye3MACgkQMOfwapXb+vJA3gCfSzUjvJUuuvii9w4a4BBFlKB4 cKMAoK05ssILf7b0q6CHzrTZDJfiadMQ =u+bp -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--