usb: renesas_usbhs: modify the irq handler for sharing irq
authorShimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>
Mon, 20 Aug 2012 09:39:23 +0000 (18:39 +0900)
committerFelipe Balbi <balbi@ti.com>
Thu, 23 Aug 2012 08:04:20 +0000 (11:04 +0300)
When IORESOURCE_IRQ_SHAREABLE is set, the irq handler may be called
even if the interupt of the USB module doesn't happen. So, it may
clear the interrupt flags by mistake. This patch fixes it.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found