Messages in this thread | | | Date | Mon, 19 Nov 2018 09:59:31 +0100 | From | Pavel Machek <> | Subject | Re: [RFC PATCH v8 1/4] media: Media Device Allocator API |
| |
On Thu 2018-11-01 18:31:30, shuah@kernel.org wrote: > From: Shuah Khan <shuah@kernel.org> > > Media Device Allocator API to allows multiple drivers share a media device. > 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 -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [unhandled content-type:application/pgp-signature] | |