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:
Manu Gautam <mgautam@codeaurora.org>
Loading
Please register or sign in to comment