USB: EHCI: Ensure 10 msec delay between bus states
According to EHCI specification, software must wait for at least 10 msec
after a port indicates that it is suspended before initiating a port
resume. The current code uses jiffies and fails to give the delay if
suspend and resume happens at the timer tick boundaries.
The correct implementation would be ensuring this delay by using hrtimers
or ktime_get(). This involves changing many drivers. Hence workaround
it by increasing the state change delay to 2 jiffies.
CRs-Fixed: 521047
Change-Id: I703210cca83d649d1b253e971dfba8f62c6ccb8c
Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
Loading
Please register or sign in to comment