mmc: msm_sdcc: Poll hardware register with iopoll API
While polling a hardware register for a fixed period of time, a task
may be preempted, causing the total time elapsed to exceed the fixed
period. For more accurate accounting, several iterations of a timed
delay can be used, and guarantees that the register will be polled for
at least the specified period of time before a timeout error is
reported.
CRs-Fixed: 421219
Change-Id: I8bc7ddb0ec2cd18085c2ee666754febac9376cbb
Signed-off-by:
Oluwafemi Adeyemi <aadeyemi@codeaurora.org>
Loading
Please register or sign in to comment