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

Commit f240f4c9 authored by Sujeet Kumar's avatar Sujeet Kumar Committed by Manu Gautam
Browse files

USB: phy: Disable phy_irq before processing LPM sequence



phy_irq may arrive any time when the micro-A cable is connected.
If the USB low power mode sequence is ongoing, it would turn off
the usb core clock before setting the in_lpm flag. Because in_lpm
flag is not set, async irq would not resume USB. In such race
condition, there is a chance to hit into unclocked access noc
error.
Disable the phy_irq before beginning of the LPM sequence and enable
is back again at the end of LPM after setting in_lpm flag.

Change-Id: Ia5e7291502be05be88bbe4ae4c5d0920c9665ca2
Signed-off-by: default avatarSujeet Kumar <ksujeet@codeaurora.org>
parent d3846f3c
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