usb: gadget: aspeed: improve vhub port irq handling

This patch evaluates vhub ports' irq mask before going through per-port
irq handling one by one, which helps to speed up irq handling in case
there is no port interrupt.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
This commit is contained in:
Tao Ren 2020-03-15 12:14:30 -07:00 • committed by Felipe Balbi
commit a23be4ed8f
2 changed files with 12 additions and 8 deletions