Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 68d796a5 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

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: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 7198e5fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment