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

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

usb: gadget: Fix remote wakeup during low-power mode



Fix remote wakeup failure during low-power mode. The remote wakeup
operation issues an asynchronous low-power mode exit in a remote task
and then immediately continues to access the USB hardware for priming
the endpoint. In some cases it might happen that the remote task that
performs the low-power mode exit hasn't completed before the endpoint
priming and therefore a failure occurs. The fix adds a 'remote wakeup'
queue which holds the requests until the USB HW exits from low-power mode
and resumes.After resume, the pending requests are pushed to the hardware.

CRs-fixed: 470164
Change-Id: I3e572a082d0e93560bf69889e269fa34336cf5e8
Signed-off-by: default avatarDaniel Segal <dsegal@codeaurora.org>
parent e0af6fff
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