commit | b0bacbe72fa3c15cf1579d745591f7a9373a4204 | [log] [tgz] |
---|---|---|
author | Marek Szyprowski <m.szyprowski@samsung.com> | Tue Mar 03 17:32:12 2015 +0100 |
committer | Marek Vasut <marex@denx.de> | Tue Apr 14 05:48:12 2015 +0200 |
tree | e5d8de9bd344ace2fc0b5e15572bf8386821643a | |
parent | 06c7bde8b16faf1084b65d9bd13042900f34f87b [diff] |
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>