]> git.baikalelectronics.ru Git - kernel.git/commit
[media] use v4l2_mc_usb_media_device_init() on most USB devices
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 11 Feb 2016 17:35:07 +0000 (15:35 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 16 Feb 2016 10:43:13 +0000 (08:43 -0200)
commitdb93694e3cc196366ab614efaa9461fe7b95f041
treed6496ef23cdc30420b72866ce7ffe81dc9093489
parent216fcb41301ea8a28b25d4854fb442488fb3adf6
[media] use v4l2_mc_usb_media_device_init() on most USB devices

Except for the usbuvc driver (with has an embedded media_device
struct on it), the other drivers have a pointer to media_device.

On those drivers, replace their own implementation for the core
one. That warrants that those subdev drivers will fill the
media_device info the same way.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-core.c
drivers/media/usb/cx231xx/cx231xx-cards.c
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
drivers/media/usb/dvb-usb/dvb-usb-dvb.c
drivers/media/usb/em28xx/em28xx-cards.c