On 05/09/2018 10:45 AM, Sekhar Nori wrote:
A well timed kernel preemption in the time_after() loop
in wait_for_idle() can result in a spurious timeout
error to be returned.

Fix it by using readl_poll_timeout() which takes care of
this issue.

Reviewed-by: Andrew Lunn <and...@lunn.ch>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
---
v3: simplify return path based on comment from Andrew

The issue has not been personally observed by me, but has
been reported by users. Sending for next-next given the
non-critical nature. There is seems to be no easy way to
reproduce this.


Reviewed-by: Grygorii Strashko <grygorii.stras...@ti.com>



--
regards,
-grygorii

Reply via email to