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

Skip to content
Commit e6b2d9e7 authored by Mayank Rana's avatar Mayank Rana
Browse files

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: default avatarMayank Rana <mrana@codeaurora.org>
parent 5f228f0a
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