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

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

usb: gadget: dwc: Avoid calling resume callback when remote wakeup fails



When _dwc3_gadget_wakeup() function is called, it initiates remote wakeup
to the USB HW, and then calls the resume interrupt handler simulate a
resume event. However, this should be done only if the remote wakeup has
succeeded. This patch fixes this issue.

Change-Id: I6a8296bebc2965f517bfad6eace58adc5780abb6
Signed-off-by: default avatarDanny Segal <dsegal@codeaurora.org>
parent 7072ea14
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