Commit 8fdc3987 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

EHCI: HSIC: Use counter for timeout in ulpi_read()



ulpi_read() relies on jiffies to calculate the timeout
for read operation on phy register. Calling ulpi_read()
with interrupts disabled, freezes jiffies on local processor.
In case of phy lockup this results in infinite loop leading
to watchdog reset. Use loop counter for timeout instead of
jiffies for read operation to avoid watchdog reset.

CRs-Fixed: 388234
Change-Id: I1d46052b087c42b9f422b6f7eb691498fa104718
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 6b01c68d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment