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

Skip to content
Commit 8f3f5311 authored by Mayank Rana's avatar Mayank Rana Committed by Hemant Kumar
Browse files

dwc3: gadget: remove usage of wait_event_lock_irq()



dwc3_gadget_ep_dequeue() API uses wait_event_lock_irq() which takes
mutex_lock(). Hence if function driver calls this API with interrupt
and preemption disable, it results into calling sleeping function
with preemption disable. wait_event_lock_irq() API is used to wait
for stop endpoint command completion, and already existing delay
should suffice. Hence fix this issue by removing usage of
wait_event_lock_irq() from dwc3_gadget_ep_dequeue() API.

Change-Id: If31e045b37334ddeddb6e2dfb23500f356806719
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 35b0dfa1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment