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

Commit 9f9c6432 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa Committed by Gerrit - the friendly Code Review server
Browse files

usb_bam: Enable flow control in IPA if disabled during disconnect



On some platforms, there is a chance flow control has been disabled
from IPA side due to which IPA can't consume data till it got cleared.
If USB disconnect happens, USB driver waits for sps pipe to be empty
for 10 msec and if it is not empty, USB injects ZLT descriptor on IPA
BAM by calling SPS driver API. Even after this, USB->IPA pipe will not
empty if flow control is disabled and triggers panic. Hence explicitly
call IPA driver API to enable flow control for removing delay on
IPA endpoint for USB->IPA pipe to fix this.

Change-Id: I321052ebdec600325517dbccc13b02788f491744
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent c023e48c
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