| commit | 853ecb2d7db55d28b3d2d89fbdf2d704fe82f5c1 | [log] [tgz] |
|---|---|---|
| author | Vikram Mulukutla <markivx@codeaurora.org> | Tue Apr 24 16:50:06 2012 -0700 |
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Nov 06 15:22:47 2012 -0800 |
| tree | e54c5ca9c59aa4d229e3ee1edc6f05e8f31162d9 | |
| parent | f014139620513984c36bcf2c0538e4229c239ec1 [diff] |
iopoll: Introduce the readl_iopoll_timeout_noirq macro It is sometimes necessary to poll a register - until a certain value is read - in atomic context. Introduce a macro that allows one to specify the maximum number of reads attempts and the number of microseconds to delay between each read attempt. Change-Id: Ice27e78cf4e156da9de00d58783c220bdbc758d3 Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org> (cherry picked from commit 7a35f5abde0192e72d4e7982411e376d8b898944)