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)
commit4e177260e547e438c78c60b6db6f755bb89e0596
tree7b7c88d7f780c1b666e0e13852b3988c922d7899
parent8c7ca99250de69dfe97c5f4f6e2eb11dc6145779
usb: renesas_usbhs: modify the irq handler for sharing irq

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>
drivers/usb/renesas_usbhs/mod.c