On Sat, Sep 27, 2014 at 08:27:28PM -0700, Mitchel Humpherys wrote:
From: Matt Wagantall <redacted>
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.
Cc: Thierry Reding <redacted>
Cc: Will Deacon <redacted>
Signed-off-by: Matt Wagantall <redacted>
Signed-off-by: Mitchel Humpherys <redacted>
---
include/linux/iopoll.h | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 77 insertions(+)
create mode 100644 include/linux/iopoll.h
It would be good to provide a changelog with each new version of the
patch. As it is I now have v2 and v3 of this patch in my inbox and I
have no idea what the differences are, so I'd need to download both
and run them through interdiff to find out.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140929/42876baa/attachment.sig>