Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a78db82 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

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: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent ea3a13b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -47,7 +47,7 @@ static int gl861_i2c_msg(struct dvb_usb_device *d, u8 addr,
		return -EINVAL;
		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,
	return usb_control_msg(d->udev, usb_rcvctrlpipe(d->udev, 0), req, type,
			       value, index, rbuf, rlen, 2000);
			       value, index, rbuf, rlen, 2000);