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

Skip to content
Commit 059a2a9b authored by Manu Gautam's avatar Manu Gautam Committed by Gerrit - the friendly Code Review server
Browse files

usb_bam: wait for UL USB producer pipe to be empty on disconnect



If peer BAM tries to reset its BAM with some pending data
in USB producer BAM then it may cause BAM ERROR_IRQ. Hence, wait
for FIFO to be drained by consumer BAM before disconnecting PIPE.
10msec timeout has been added while waiting which can happen if
peer BAM is stuck and not responding.

CRs-fixed: 702372
Change-Id: I1e67c3674def1d7451ee37a864bdf605d485df04
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent e92aa60f
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