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

Commit 26b053be authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: ehci-hcd: Fix ehci shutdown unclocked register access



ehci shutdown callback can access registers with the clocks
turned off if the USB controller is in low power mode. Check
HCD_FLAG_HW_ACCESSIBLE flag before accessing any register.

Change-Id: Iafc9a5057aa196131b3aa7a2f659b9f8f052ec7f
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent c287f849
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