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

Skip to content
Commit 8f39436b authored by Ido Shayevitz's avatar Ido Shayevitz
Browse files

usb: gadget: Fix connect/disconnect/suspend/resume race conditions



This patch add synchronization protection between connect, disconnect,
suspend and resume events and their corresponding works in the u_bam and
in the u_bam_data_drivers. In addition, better manage the work-queue and
ignore works when needed (for example, ignore everything if last event
was disconnect).

CRs-Fixed: 678217
Change-Id: I64b45184183495f9ee37bc1c820dc83306e777f5
Signed-off-by: default avatarIdo Shayevitz <idos@codeaurora.org>
parent 5df047d2
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