mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 01:51:53 +00:00
[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:
parent
c188637dc5
commit
ccb5cf9bfc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user