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

Commit 2941284e authored by ChandanaKishori Chiluveru's avatar ChandanaKishori Chiluveru Committed by Manu Gautam
Browse files

usb: gadget: Do not drop the request upon suspend



If a write(IN) request is queued after usb bus suspend in smd driver,
it queues the request in tx_pull which fails with -EAGAIN. As a result
response/indication generating a remote wakeup signal is dropped
and never received by the host.

Fix this by not dropping response packets on enqueue error
but now wake up to the host connected and queue the request on resume.

Change-Id: I2272b728699159e14581d8415b6ad9617d95685f
Signed-off-by: default avatarChandanaKishori Chiluveru <cchilu@codeaurora.org>
parent a660e4d0
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