forked from Minki/linux
6e1d824e7a
Media Device Allocator API to allows multiple drivers share a media device. This API solves a very common use-case for media devices where one physical device (an USB stick) provides both audio and video. When such media device exposes a standard USB Audio class, a proprietary Video class, two or more independent drivers will share a single physical USB bridge. In such cases, it is necessary to coordinate access to the shared resource. 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. Signed-off-by: Shuah Khan <shuah@kernel.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> |
||
---|---|---|
.. | ||
cec-drivers | ||
dvb-drivers | ||
kapi | ||
uapi | ||
v4l-drivers | ||
.gitignore | ||
audio.h.rst.exceptions | ||
ca.h.rst.exceptions | ||
cec.h.rst.exceptions | ||
conf_nitpick.py | ||
conf.py | ||
dmx.h.rst.exceptions | ||
frontend.h.rst.exceptions | ||
index.rst | ||
intro.rst | ||
lirc.h.rst.exceptions | ||
Makefile | ||
media_kapi.rst | ||
media_uapi.rst | ||
media.h.rst.exceptions | ||
net.h.rst.exceptions | ||
typical_media_device.svg | ||
video.h.rst.exceptions | ||
videodev2.h.rst.exceptions |