commit | 137f7c590d37279f49caf4d3152a0a7d12f01831 | [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 | 16bece51c58a7758309918daecdc0c4bb45e271b [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>