]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (8015): gl861: replace non critical msleep(0) with msleep(1) to be on the...
authorAntti Palosaari <crope@iki.fi>
Tue, 10 Jun 2008 14:41:58 +0000 (11:41 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 26 Jun 2008 18:58:44 +0000 (15:58 -0300)
- change msleep(0) to msleep(1)

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/gl861.c

index 9e53650ac9d3e2c864c843926a3fa10d8976ef8e..037f7ffb47b297e6696fd167b8849143cac654f6 100644 (file)
@@ -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);