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

Skip to content
Commit ce9e978d authored by Danny Segal's avatar Danny Segal
Browse files

usb: msm_otg: Fix BAM remote-wake up issue during USB low-power mode



When new data is pushed into the USB BAM pipes during USB low-power mode,
the BAM wakeup ISR triggers a USB remote-wakeup operation. This leads to
calling the ci13xxx_wakeup() function. This function issued a low-power
mode exit by a remote task, and then sets the FPR bit for issuing remote
wakeup. The problem is that sometimes the low-power mode exit remote task
does not get a chance to be executed before setting the FPR bit. In result,
the write to FPR bit fails, and no remote-wakeup happens.
The solution implemented for this issue is to wait for the low-power
mode exit to complete before setting the FPR bit.

Change-Id: Icfb2e6ab9dfc2371a4f0d8130e854b0f672f3c7e
CRs-Fixed: 514368
Signed-off-by: default avatarDanny Segal <dsegal@codeaurora.org>
parent 6a70ad8c
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