diff options
author | Antti Palosaari <crope@iki.fi> | 2012-05-18 23:07:46 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 17:25:00 +0400 |
commit | ccb5cf9bfcec739506d91737c4a9675e78868db2 (patch) | |
tree | d05aa95a8ccbb40240818b084a747de4a3843a90 /drivers/media/dvb/dvb-usb | |
parent | c188637dc5a25aec6a21279524405c8fe96f2f4b (diff) | |
download | linux-ccb5cf9bfcec739506d91737c4a9675e78868db2.tar.xz |
[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>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r-- | drivers/media/dvb/dvb-usb/rtl28xxu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/rtl28xxu.c b/drivers/media/dvb/dvb-usb/rtl28xxu.c index 4e69e9db849e..41e1f5537f44 100644 --- a/drivers/media/dvb/dvb-usb/rtl28xxu.c +++ b/drivers/media/dvb/dvb-usb/rtl28xxu.c @@ -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) |