git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5022a20
)
[media] em28xx: convert i2c wait completion logic to use jiffies
author
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Sat, 4 Jan 2014 08:42:11 +0000
(
05:42
-0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Fri, 10 Jan 2014 08:08:46 +0000
(06:08 -0200)
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>
No differences found