commit | b3ed9c113825d4d55d24a77d006fa2cd21a361ef | [log] [tgz] |
---|---|---|
author | Matt Wagantall <mattw@codeaurora.org> | Wed Apr 18 12:36:41 2012 -0700 |
committer | Matt Wagantall <mattw@codeaurora.org> | Fri Apr 27 09:29:24 2012 -0700 |
tree | 9af0a603d9cdb39013deef6274999be8a088297b | |
parent | db4bc8162185a65f71d7a144d1d1db7c97b94d47 [diff] |
iopoll: Introduce memory-mapped IO polling macros It is sometimes necessary to poll a memory-mapped register until its value satisfies some condition. Introduce a family of convenience macros that do this. Tight-loop and sleeping versions are provided with and without timeouts. Signed-off-by: Matt Wagantall <mattw@codeaurora.org> Change-Id: Ia7db00cbe60ded8b0ed9bbff264aaea0841da92a