Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 43b031b2 authored by Matt Wagantall's avatar Matt Wagantall Committed by Stephen Boyd
Browse files

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: default avatarMatt Wagantall <mattw@codeaurora.org>
Change-Id: Ia7db00cbe60ded8b0ed9bbff264aaea0841da92a
(cherry picked from commit b3ed9c113825d4d55d24a77d006fa2cd21a361ef)
parent 4cf86421
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment