commit | a65161a8a7814034ad3e2b55df645b2f1854d55f | [log] [tgz] |
---|---|---|
author | Matt Wagantall <mattw@codeaurora.org> | Fri May 04 11:50:28 2012 -0700 |
committer | Matt Wagantall <mattw@codeaurora.org> | Thu May 10 11:57:51 2012 -0700 |
tree | 04f85c321b55cd707061dcdc96592b0b6f287b8e | |
parent | 3a189fc0fa7290b12cd183ed8e782fdd37d661b9 [diff] |
iopoll: Tweak min sleep time used with usleep_range() Users of the iopoll macros may need to poll addresses that take a long time to update. In such cases, the hardcoded value of 1 us passed as the minimum delay to usleep_range() may result in reads that occur more often than necessary. Use (sleep_us/4) as the min delay instead of 1 us to resolve this is a scalable way. Change-Id: I8f679a7ecdb9ea2666c78aabca3c8ba806e0ead3 Signed-off-by: Matt Wagantall <mattw@codeaurora.org>