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

Commit 425209a6 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: Perform block reset during suspend for recovery from flush failures



In case EP flush and EP prime failures are seen during disconnect,
recovery flag is set to do block reset to recover on cable re-connect from
EP flush and EP prime failures. This might lead to unclocked access if in
case usb_bam disconnect_work is still in progress. Hence fix this by moving
this block reset to suspend and perform before entering low power mode and
make sure block reset is performed in case of recovery flag is set by not
scheduling statemachine till recovery is done.

Change-Id: Ie87c069a7b1763c01fccfeb1e51d585f3ac4cc08
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 095c42a3
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