summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2015-05-03 21:48:47 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-18 15:59:35 -0300
commit9ea964f369f109580c3ae5bbe3405c79fc855203 (patch)
tree3655b8970d92bc2092cec6bb13191b72075f486d /drivers/media/usb
parentfc3a0497b9d84018f13f7af5868c0089d52f6006 (diff)
downloadlinux-stable-9ea964f369f109580c3ae5bbe3405c79fc855203.tar.gz
linux-stable-9ea964f369f109580c3ae5bbe3405c79fc855203.tar.bz2
linux-stable-9ea964f369f109580c3ae5bbe3405c79fc855203.zip
[media] rtl28xxu: load SDR module for fc2580 based devices
Load rtl2832_sdr driver for devices having fc2580 tuner. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb')
-rw-r--r--drivers/media/usb/dvb-usb-v2/rtl28xxu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
index 2d2d50625048..c3cac4c12fb3 100644
--- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
+++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@ -1201,6 +1201,7 @@ static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
break;
}
dev->i2c_client_tuner = client;
+ subdev = fc2580_pdata.get_v4l2_subdev(client);
}
break;
case TUNER_RTL2832_TUA9001: {
@@ -1299,6 +1300,7 @@ static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
/* register SDR */
switch (dev->tuner) {
+ case TUNER_RTL2832_FC2580:
case TUNER_RTL2832_FC0012:
case TUNER_RTL2832_FC0013:
case TUNER_RTL2832_E4000: