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

Skip to content
Commit 988a1d2a authored by Bar Weiner's avatar Bar Weiner
Browse files

usb: gadget: Start write_tobam work only from USB bus resume



This fix solves an issue where start_rx() and write_tobam()
create a recursive infinite loop causing a 100% CPU utilization.
The proposed solution is to queue write_tobam() work only when
start_rx is called as part of the resume sequence.

Change-Id: I4ff664bd6e8afc66fa5dec169df443b624c86995
Signed-off-by: default avatarBar Weiner <bweiner@codeaurora.org>
parent 71ee1119
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