From: Antti Palosaari Date: Mon, 4 May 2015 00:48:47 +0000 (-0300) Subject: [media] rtl28xxu: load SDR module for fc2580 based devices X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9ea964f369f109580c3ae5bbe3405c79fc855203;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] rtl28xxu: load SDR module for fc2580 based devices Load rtl2832_sdr driver for devices having fc2580 tuner. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- 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: