summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/gl861.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2008-06-10 16:41:58 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-26 20:58:44 +0200
commit1a78db826973b9fa658d72291ec2007889e2faf7 (patch)
tree675e10461b9cba4b154e1d9c2e94225f1f541992 /drivers/media/dvb/dvb-usb/gl861.c
parentV4L/DVB (8013): gl861: remove useless identify_state (diff)
downloadlinux-1a78db826973b9fa658d72291ec2007889e2faf7.tar.xz
linux-1a78db826973b9fa658d72291ec2007889e2faf7.zip
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,
return -EINVAL;
}
- msleep(0); /* avoid I2C errors */
+ msleep(1); /* avoid I2C errors */
return usb_control_msg(d->udev, usb_rcvctrlpipe(d->udev, 0), req, type,
value, index, rbuf, rlen, 2000);