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)
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>

No differences found