From: Matt Wagantall Date: Mon, 15 Dec 2014 23:47:23 +0000 (+0000) Subject: iopoll: Introduce memory-mapped IO polling macros X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~107^2~3^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54c523127bcca986c6f9b04c7b56a949ea011899;p=pandora-kernel.git 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-looping, sleeping, and timing out can all be accomplished using these macros. Cc: Thierry Reding Cc: Andrew Morton Cc: Robert Elliott Acked-by: Arnd Bergmann Acked-by: Will Deacon Signed-off-by: Matt Wagantall Signed-off-by: Mitchel Humpherys Signed-off-by: Will Deacon --- Reading git-diff-tree failed