]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[media] rtl28xxu: load SDR module for fc2580 based devices
authorAntti Palosaari <crope@iki.fi>
Mon, 4 May 2015 00:48:47 +0000 (21:48 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 18 May 2015 18:59:35 +0000 (15:59 -0300)
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>
drivers/media/usb/dvb-usb-v2/rtl28xxu.c

index 2d2d50625048bf319061aa598f846aec415bf8e4..c3cac4c12fb3c6c18315ab83941a3454dc5ce9bd 100644 (file)
@@ -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: