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

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

usb: gadget: Delay low-power mode entry after USB bus suspend



When the USB bus is suspended, the suspend event handler immediately puts
the USB core into low power mode state. When this occurs concurrently with
other connectivity event, like disconnect, connect or reset, this may cause
race condition issues. This patch moves the low-power mode after suspend to
be handled by the OTG state machine which is capable of maintaining all of
the bus events in one location. Additionaly, a delay has been added between
the suspend event and the actual low-power mode entry.

CRs-fixed: 690236
Change-Id: I2239c27c0ed1d76b85e3ea7b02e6bbbd66a5b414
Signed-off-by: default avatarDanny Segal <dsegal@codeaurora.org>
parent 810f6916
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