usb: renesas_usbhs: fixup interrupt status clear method
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 12 Oct 2012 04:49:38 +0000 (21:49 -0700)
committerFelipe Balbi <balbi@ti.com>
Tue, 16 Oct 2012 09:47:40 +0000 (12:47 +0300)
commitd5c6a1e024dd5acd6ad2e1a6eb6a2fd5c15c50f1
treef3b9cf4c413adea7d4a75f4682a741981c484579
parentc2fa3edc58a262dfcb7aea78e24661e90e00098c
usb: renesas_usbhs: fixup interrupt status clear method

When interrupt happened, renesas_usbhs driver gets irq status
by usbhs_status_get_each_irq(), and cleared all status by using 0.
But, this method is incorrect,
since extra interrupt might occur between them.
This patch cleared corresponding bits only

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/mod.c