usb: f_qdss: Call usb_ep_dequeue() API without spinlock acquire
USB dwc3 controller related usb_ep_dequeue() API uses wait_lock_irq()
API which releases acquired dwc3 spinlock and acquires mutex lock to
complete stop active transfer command. Hence calling usb_ep_dequeue()
API with spinlock (qdss_lock) acquire with usb_qdss_close() API
results into trying acquire sleeping lock (mutex lock within
dwc3_ep_dequeue() API) with atomic context. Fix this issue by calling
usb_ep_dequeue() API without spinlock acquire.
Change-Id: Id93f60de0888723cbc08c36ea55d12db93f9fc8b
Signed-off-by:
Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment