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

Skip to content
Commit b60302c1 authored by Azhar Shaikh's avatar Azhar Shaikh
Browse files

usb: dwc3: gadget: NULL check for ep descriptor in xfer complete



There is an issue where dwc3_endpoint_transfer_complete() is called
after the endpoint is disabled, which causes a NULL pointer dereference.
So to fix, this add a NULL check for endpoint descriptor.

CRs-fixed: 724651
Change-Id: Ic6844ea104d7810457cfa01473fcfebb21251357
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent 1450dc76
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