Skip to content

Commit

Permalink
V4L/DVB (8015): gl861: replace non critical msleep(0) with msleep(1) …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Jun 26, 2008
1 parent ea3a13b commit 1a78db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/dvb-usb/gl861.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1a78db8

Please sign in to comment.