linux_dsm_epyc7002/drivers/media/usb
Shuah Khan 812658d88d media: change au0828 to use Media Device Allocator API
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.

Change au0828 to use Media Device Allocator API to allocate media device
with the parent usb struct device as the key, so it can be shared with the
snd_usb_audio driver.

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>
2019-04-22 11:19:05 -04:00
..
airspy media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
as102 media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
au0828 media: change au0828 to use Media Device Allocator API 2019-04-22 11:19:05 -04:00
b2c2 media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
cpia2 media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
cx231xx media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
dvb-usb media: usb: fix several typos 2019-03-01 09:43:27 -05:00
dvb-usb-v2 media: dvb: Add support for the Avermedia TD310 2019-03-19 16:52:51 -04:00
em28xx media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
go7007 media: replace strncpy() by strscpy() 2019-03-29 10:26:13 -04:00
gspca media: gspca: Kill URBs on USB device disconnect 2019-03-29 07:34:32 -04:00
hackrf media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
hdpvr media: replace strncpy() by strscpy() 2019-03-29 10:26:13 -04:00
msi2500 media updates for v4.20-rc1 2018-10-31 10:53:29 -07:00
pulse8-cec media: replace strncpy() by strscpy() 2019-03-29 10:26:13 -04:00
pvrusb2 media: replace strncpy() by strscpy() 2019-03-29 10:26:13 -04:00
pwc media: pwc-ctl: pChoose can't be NULL 2019-03-25 18:02:27 -04:00
rainshadow-cec media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
s2255 media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
siano media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
stk1160 media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
stkwebcam media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
tm6000 media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
ttusb-budget media: usb: fix several typos 2019-03-01 09:43:27 -05:00
ttusb-dec media: usb: fix several typos 2019-03-01 09:43:27 -05:00
usbtv media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
usbvision media: usbvision: fix a potential NULL pointer dereference 2019-03-29 07:42:56 -04:00
uvc media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
zr364xx media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
Kconfig [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00