On Sat, Sep 27, 2014 at 08:27:28PM -0700, Mitchel Humpherys wrote: > From: Matt Wagantall > > 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 > Cc: Will Deacon > Signed-off-by: Matt Wagantall > Signed-off-by: Mitchel Humpherys > --- > 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