Home
last modified time | relevance | path

Searched hist:"4 b83626ac29a66fce15256771dd550e8c4ea2c66" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-i2c.cdiff 4b83626ac29a66fce15256771dd550e8c4ea2c66 Sat Jan 04 02:42:11 CST 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> [media] em28xx: convert i2c wait completion logic to use jiffies

The I2C wait completion/timeout logic currently assumes that
msleep(5) will wait exaclty 5 ms. This is not true at all,
as it depends on CONFIG_HZ.

Convert it to use jiffies, in order to not wait for more time
than needed.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>