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:
7ba7528
)
Staging: iio: adc: Refine delay computation
author
Vaishali Thakkar
<vthakkar1994@gmail.com>
Fri, 3 Oct 2014 03:46:53 +0000
(09:16 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:07 +0000
(10:29 +0800)
As per comment in function ad7280_delay, conversion delay may take up
to 250us. We cannot rely on msleep for this because it may sleep longer
than intended time for values less than 20ms, so use usleep_range instead.
Problem detected using checkpatch.pl.
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found