From: Antti Palosaari Date: Wed, 3 Aug 2011 07:35:30 +0000 (-0300) Subject: [media] rtl28xx: fix rtl2831u with tuner mxl5005s X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9320ece9ea8cae401548bf66955230d513fd93b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] rtl28xx: fix rtl2831u with tuner mxl5005s Do not return error for demod attach in case of mxl5005s tuner. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- 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__);