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

Commit 4cf8c454 authored by Chandana Kishori Chiluveru's avatar Chandana Kishori Chiluveru
Browse files

usb: host: xhci: Abort suspend when interrupt is pending



During xhci suspend driver disables interrupt, clears HW_ACCESSIBLE and
halts the controller. There is still a possibility of a pending interrupt
before controller is halted. If any event is pending with the controller
and SW trying to halt the controller then it resulting in undefined
behavior and leading to assertion of Host controller error(HCE).

Fix this by adding condition to check for interrupt pending during
controller halt. If any event is pending with the controller
then abort suspend.

Change-Id: I38fa6aeeeeccf130280c3af2927fb7f6693f755f
Signed-off-by: default avatarChandana Kishori Chiluveru <cchiluve@codeaurora.org>
parent 0c3a23a4
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