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

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

dwc3: gadget: Use dbg_event() to log error



dwc3_process_event_entry() API results into calling UART driver
API while trying to print some of error message with USB DWC3
spinlock acquire. In some cases like adb reboot UART driver takes
more time which results into USB DWC3 spinlock bug when ADB thread
context dwc3_gadget_giveback() is being called. Fix this issue
by logging error with USB DWC3 internal buffer using dbg_event()
instead of sending those on serial console.

Change-Id: Idbf3ef1ef939115308e73a841bb0905d4621c9d9
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent a25de292
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