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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 23:52:08 +0000 (16:52 -0700)
commit697d5c004e390102efbf9320a5416873679bea81
treedc707dc867027cb53a8014ab41b02fcca85d8a7b
parent47c56a1479373d46f90d2e301869b9952f632451
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/mod.c