[media] rtl28xx: fix rtl2831u with tuner mxl5005s
authorAntti Palosaari <crope@iki.fi>
Wed, 3 Aug 2011 07:35:30 +0000 (04:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 Feb 2012 21:40:22 +0000 (18:40 -0300)
Do not return error for demod attach in case of mxl5005s tuner.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/rtl28xxu.c

index e7b1811..c186736 100644 (file)
@@ -308,6 +308,7 @@ static int rtl28xxu_frontend_attach(struct dvb_usb_adapter *adap)
        }
 
        /* assume MXL5005S */
+       ret = 0;
        priv->tuner = TUNER_RTL2830_MXL5005S;
        rtl2830_config = &rtl28xxu_rtl2830_mxl5005s_config;
        deb_info("%s: MXL5005S\n", __func__);