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

Skip to content
Commit 73d32170 authored by Pratham Pratap's avatar Pratham Pratap Committed by Gerrit - the friendly Code Review server
Browse files

usb: gadget: cdev: Requeue the request outside spinlock



'Commit I87015f00267af ("usb: gadget: cdev: Requeue the request in
cser_resume if start_rx fails")' is requeuing the request in if
start_rx fails as dut is in suspend mode. This needs to done outside
of spinlock as usb_cser_start_rx will again acquire the port_lock to
queue the request causing a deadlock condition.

Fix this by requeuing the request outside the spinlock.

Change-Id: Ifa1cdb338d6a7e6a2d98ced55c4dbca9caf6ba0e
Signed-off-by: default avatarPratham Pratap <quic_ppratap@quicinc.com>
parent d5088814
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