usb: r8a66597-hdc disable interrupts fix
authorMagnus Damm <damm@opensource.se>
Wed, 27 Jan 2010 07:41:19 +0000 (07:41 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 2 Feb 2010 02:30:45 +0000 (11:30 +0900)
commite5ff15bec96ba18698dae5de0bbf7e6a0653ca65
treed311f375b0297dc4e92c09a50f175de0979241a8
parente8708ef7e86a463b3a5b01d4a9abf16c8748b464
usb: r8a66597-hdc disable interrupts fix

This patch improves disable_controller() in the r8a66597-hdc
driver to disable all interrupts and clear status flags. It
also makes sure that disable_controller() is called during
probe(). This fixes the relatively rare case of unexpected
pending interrupts after kexec reboot.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/usb/host/r8a66597-hcd.c