[media] cx231xx, em28xx: pass media_device to si2157
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 12 Feb 2016 00:18:36 +0000 (22:18 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 16 Feb 2016 10:53:06 +0000 (08:53 -0200)
commit133bc4e4a3cdbead6ad17d5acfc2997026d8ca79
treeb02aa2d83b6fb3b0096873d2e72927a94729b971
parent8b0a81c73326af2defaa0d8a4494c7def83928bd
[media] cx231xx, em28xx: pass media_device to si2157

As si2157 doesn't use the subdev, but has instead a binding
logic that doesn't have any core framework, we need to manually
pass the media_device struct via platform data on every place
it is called.

This fixes support for HVR-955Q when MC is enabled.

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