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

Commit ac6c4f14 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: gadget: Clear multi_req flag if UDC suspended



If a large request has to be queued onto an EP, then
multi_req flag for that EP is set before queueing the
request to the hardware. Now if the UDC is suspended during
cable disconnect before the request could be queued to the
HW, then multi_req flag is not cleared even by ep_disable.
Then on cable connect, re-enumeration fails with Large Request
error for that particular endpoint.

Fix this by clearing multi_req flag if the UDC suspend
happens before HW enqueue happens.

Change-Id: I77316192876b46ab82b775e01e2155309c2e91f8
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 67c751e0
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