summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/gl861.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2008-06-10 14:41:58 +0300
committerAntti Palosaari <crope@iki.fi>2008-06-10 14:41:58 +0300
commit4ccdff99c6c6b6904939fb712b57ff69523b9f66 (patch)
treeee438895106e24671fee1ff2c6a748f5c14541ae /linux/drivers/media/dvb/dvb-usb/gl861.c
parent687a4b62b25da36cf15beef442c11d700dfb7d00 (diff)
downloadmediapointer-dvb-s2-4ccdff99c6c6b6904939fb712b57ff69523b9f66.tar.gz
mediapointer-dvb-s2-4ccdff99c6c6b6904939fb712b57ff69523b9f66.tar.bz2
gl861: replace non critical msleep(0) with msleep(1) to be on the safe side
From: Antti Palosaari <crope@iki.fi> - change msleep(0) to msleep(1) Signed-off-by: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/gl861.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/gl861.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/gl861.c b/linux/drivers/media/dvb/dvb-usb/gl861.c
index 5f105e804..36700b67d 100644
--- a/linux/drivers/media/dvb/dvb-usb/gl861.c
+++ b/linux/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);