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

Skip to content
Commit 220d664b authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: gadget: Handle the return value if ep_queue fails for ZLP



Currently diag and qdss drivers are not checking the return value
when it queues zlp in interrupt context for TX endpoint. This could
result in memory leak if ep_queue fails for zlp. Hence check the
return value of usb_ep_queue() and handle the error case.

CRs-Fixed: 550211
Change-Id: I9f0be89ffbadaa57c9e4dd264651ea44cdc4ec27
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent ff36558a
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