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

Skip to content
Commit 8bb9cbcc authored by Manu Gautam's avatar Manu Gautam Committed by Hemant Kumar
Browse files

usb: dwc3: gadget: Fail request submission if it was already queued



Function driver should not try to queue a busy request again to DCD
until DCD returns it by calling its completion handler or it is
explicitly dequeued. Some function driver may try to submit a
request again which is with DCD resulting in corruption of request_list
leading to kernel panic later in giveback. Catch such conditions and fail
the request submission to DCD.

Change-Id: Id2a4a1720f61dffc50cc22598734f229caf07ff3
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 93b3d48f
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