]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: dwc3: optimize interrupt loop
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 3 Mar 2015 16:32:12 +0000 (17:32 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:48:12 +0000 (05:48 +0200)
commit137f7c590d37279f49caf4d3152a0a7d12f01831
treee5d8de9bd344ace2fc0b5e15572bf8386821643a
parent16bece51c58a7758309918daecdc0c4bb45e271b
usb: dwc3: optimize interrupt loop

There is no point in calling dwc3_thread_interrupt() if no event is
pending. There is also no point in flushing event cache in EVERY loop
iteration.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/gadget.c