USB: xhci: Ensure 10 msec delay between bus states
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: 625003
Change-Id: Ibb9f07d2d84e5ad8f09ed3232ad88b73833e8d7c
Signed-off-by:
Hemant Kumar <hemantk@codeaurora.org>
Loading
Please register or sign in to comment