summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2011-08-03 04:35:30 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-02-28 18:40:22 -0300
commite9320ece9ea8cae401548bf66955230d513fd93b (patch)
treefecbb5d52838b6f6d2e7c76d2b6ab4c9c5483beb
parent831e0b718c8d28afe6c9c9c2fcaebb5a730201ed (diff)
[media] rtl28xx: fix rtl2831u with tuner mxl5005s
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>
-rw-r--r--drivers/media/dvb/dvb-usb/rtl28xxu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/rtl28xxu.c b/drivers/media/dvb/dvb-usb/rtl28xxu.c
index e7b1811e3567..c186736ea8f7 100644
--- a/drivers/media/dvb/dvb-usb/rtl28xxu.c
+++ b/drivers/media/dvb/dvb-usb/rtl28xxu.c
@@ -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__);