]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit921ffbea3db929bc826bdfc42b9da99d14a5d0be
treed311f375b0297dc4e92c09a50f175de0979241a8
parentdaf2de5f6ff37565dd213411fe7f8d1cd3016233
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