+15
−60
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The extra read seems to have been added due to an incorrect use
of readw_poll_timeout. The readw_poll_timeout was effectively acting
as a long delay before attempting the second read. Replacing the readw
with a readl results in correctly polling the register. We can safely
remove the extra read and simplify the polling logic.
CRs-Fixed: 2722486
Change-Id: I07269d601e64059ce7654563c379b5dc956895b3
Signed-off-by:
Fernando Pacheco <fpacheco@codeaurora.org>