aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/gl861.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2008-06-10 10:41:58 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-26 14:58:44 -0400
commit1a78db826973b9fa658d72291ec2007889e2faf7 (patch)
tree675e10461b9cba4b154e1d9c2e94225f1f541992 /drivers/media/dvb/dvb-usb/gl861.c
parentea3a13b7a19f0d7d7344494047c9aa8bb32b6678 (diff)
V4L/DVB (8015): gl861: replace non critical msleep(0) with msleep(1) to be on the safe side
- change msleep(0) to msleep(1) Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/gl861.c')
-rw-r--r--drivers/media/dvb/dvb-usb/gl861.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/gl861.c b/drivers/media/dvb/dvb-usb/gl861.c
index 9e53650ac9d3..037f7ffb47b2 100644
--- a/drivers/media/dvb/dvb-usb/gl861.c
+++ b/drivers/media/dvb/dvb-usb/gl861.c
@@ -47,7 +47,7 @@ static int gl861_i2c_msg(struct dvb_usb_device *d, u8 addr,
47 return -EINVAL; 47 return -EINVAL;
48 } 48 }
49 49
50 msleep(0); /* avoid I2C errors */ 50 msleep(1); /* avoid I2C errors */
51 51
52 return usb_control_msg(d->udev, usb_rcvctrlpipe(d->udev, 0), req, type, 52 return usb_control_msg(d->udev, usb_rcvctrlpipe(d->udev, 0), req, type,
53 value, index, rbuf, rlen, 2000); 53 value, index, rbuf, rlen, 2000);