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

Skip to content
Commit 095128a9 authored by Hemant Kumar's avatar Hemant Kumar Committed by Stephen Boyd
Browse files

usb: serial: Fix race between write after suspend and resume



wwan serial driver sets suspend flag when it goes to suspend.
Driver puts any write request to delayed queue during suspend
and submits the delayed write requests while resuming and clears
the suspend flag after that. This creates a race condition where
write request comes between queuing the delayed write request and
clearing the suspend flag.

CRs-Fixed: 360555
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
Change-Id: Ib15b80bb7e289db66a6306b6147f058b5e78f3e5
parent 46b31043
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