Эх сурвалжийг харах

[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>
Antti Palosaari 10 жил өмнө
parent
commit
9ea964f369

+ 2 - 0
drivers/media/usb/dvb-usb-v2/rtl28xxu.c

@@ -1201,6 +1201,7 @@ static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
 				break;
 				break;
 			}
 			}
 			dev->i2c_client_tuner = client;
 			dev->i2c_client_tuner = client;
+			subdev = fc2580_pdata.get_v4l2_subdev(client);
 		}
 		}
 		break;
 		break;
 	case TUNER_RTL2832_TUA9001: {
 	case TUNER_RTL2832_TUA9001: {
@@ -1299,6 +1300,7 @@ static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
 
 
 	/* register SDR */
 	/* register SDR */
 	switch (dev->tuner) {
 	switch (dev->tuner) {
+	case TUNER_RTL2832_FC2580:
 	case TUNER_RTL2832_FC0012:
 	case TUNER_RTL2832_FC0012:
 	case TUNER_RTL2832_FC0013:
 	case TUNER_RTL2832_FC0013:
 	case TUNER_RTL2832_E4000:
 	case TUNER_RTL2832_E4000: