summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2009-07-20 00:42:33 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:52:27 -0300
commit2750d9c3afe7c4b9a21993d79fe31b8d44bde5bd (patch)
treef27e5ccfa811d4ac4c520c91e5c6ff4d33f7f7d2 /drivers/media
parent59d0c37baadaba10a3966ad28bbf1663d850adf1 (diff)
[media] dib0700: add a sleep before attempting to detect dib7000p
Add a sleep since in some cases the dib7000p wasn't online when being probed. The optimal timing has not yet been determined. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_devices.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c
index e9311041a55..5da35042990 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -2722,6 +2722,8 @@ static int pctv340e_frontend_attach(struct dvb_usb_adapter *adap)
/* FIXME: not verified yet */
dib0700_ctrl_clock(adap->dev, 72, 1);
+ msleep(500);
+
if (dib7000pc_detection(&adap->dev->i2c_adap) == 0) {
/* Demodulator not found for some reason? */
return -ENODEV;