[media] rtl28xxu: add small sleep for rtl2830 demod attach

Demod needs some time to wake up after power on.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Antti Palosaari 2012-05-18 16:07:46 -03:00 committed by Mauro Carvalho Chehab
parent c188637dc5
commit ccb5cf9bfc
1 changed files with 3 additions and 0 deletions

View File

@ -322,6 +322,9 @@ static int rtl2831u_frontend_attach(struct dvb_usb_adapter *adap)
* since there is some demod params needed to set according to tuner.
*/
/* demod needs some time to wake up */
msleep(20);
/* open demod I2C gate */
ret = rtl28xxu_ctrl_msg(adap->dev, &req_gate);
if (ret)