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:
Pratham Pratap <quic_ppratap@quicinc.com>
Loading
Please register or sign in to comment