Browse Source

[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>
Antti Palosaari 14 years ago
parent
commit
e9320ece9e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/media/dvb/dvb-usb/rtl28xxu.c

+ 1 - 0
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__);