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

Commit b80c2ea8 authored by Ido Shayevitz's avatar Ido Shayevitz
Browse files

usb: gadget: dwc3: Improve interrupt handler performance



Remove a costly dbg_print call in the interrupt handler.
From tests made, removing this logging save 7% cpu idle in heavy
load throughput scenario (50Mbps UL and 300Mbps DL)

Also, this debug print is not really add value for debugging,
instead one may use /proc/interrupts.

Change-Id: Iceb70e323ee7113d144dd5f7b99a2b126a4b3d76
Signed-off-by: default avatarIdo Shayevitz <idos@codeaurora.org>
parent 8c0c40d9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3000,8 +3000,6 @@ static irqreturn_t dwc3_thread_interrupt(int irq, void *_dwc)
	irqreturn_t ret = IRQ_NONE;
	int i;

	dbg_event(0xFF, "IRQ Thread", 0);

	spin_lock_irqsave(&dwc->lock, flags);

	for (i = 0; i < dwc->num_event_buffers; i++) {