diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-04 05:42:11 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-10 06:08:46 -0200 |
commit | 4b83626ac29a66fce15256771dd550e8c4ea2c66 (patch) | |
tree | 09f962cc9d5cddd50bccef8772cceb5f267c6c00 /include/scsi/osd_ore.h | |
parent | 5022a2088687baeda87b03889d0791b1b908266b (diff) | |
download | talos-op-linux-4b83626ac29a66fce15256771dd550e8c4ea2c66.tar.gz talos-op-linux-4b83626ac29a66fce15256771dd550e8c4ea2c66.zip |
[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>
Diffstat (limited to 'include/scsi/osd_ore.h')
0 files changed, 0 insertions, 0 deletions