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

Commit 08638d45 authored by Hemant Kumar's avatar Hemant Kumar Committed by Mayank Rana
Browse files

usb: dwc3-msm: Clear pending power events before setting irq mask



commit 9c07090e4f54 ("usb: dwc3-msm: Set in_lpm only after turning off
clocks") disables power event irq before setting OUT L2/P3 event irq mask
and enables later. Upon cable disconnect dwc3_otg_start_peripheral()
resumes SS phy which results into OUT P3 irq as soon as OUT P3 mask is
set upon controller suspend. Since power event irq is disabled, interrupt
remains pending until power event irq gets enabled, this causes controller
to exit from low power mode right after it goes to LPM.

CRs-Fixed: 844372
Change-Id: I138650e945639f82ce8d3c42c1336f3205bd2530
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 8d8e42e4
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