usb: r8a66597-udc disable interrupts on shutdown fix
commit0bb886d2a9c2d4e069ca364e36c52c7ae6d1ca8c
authorMagnus Damm <damm@igel.co.jp>
Wed, 19 Aug 2009 14:26:10 +0000 (19 14:26 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 20 Aug 2009 01:30:45 +0000 (20 10:30 +0900)
tree34bd4255913ab3c2576627f54fe21592eedf6ece
parentef5ce3b69028ea32aa87e98c9a3802e7c9f824b6
usb: r8a66597-udc disable interrupts on shutdown fix

This patch improves the disable_controller() function in the
r8a66597-udc driver to disable all interrupts and also clear
status flags. With this patch in place the driver survives
kexec.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/usb/gadget/r8a66597-udc.c