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

Commit 62290451 authored by Manu Gautam's avatar Manu Gautam
Browse files

USB: ci13xxx: Prevent USB LPM with composition switch in SUSPEND



If USB state is SUSPENDED and composition switch is initiated
then pull_up routine brings USB out of low power mode and then
puts it back in LPM.
This can race with function's disable routines and in worst
case result in unclocked accesses. Handle this by introducing
runtime auto-suspend delay to UDC driver which makes sure
that USB is not suspended immediately after clearing run-stop
bit which is the first step in changing USB compositions.

Change-Id: I21bdd690f401798a2cdad9c68c66211e422b3061
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent f68526e9
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