usb: r8a66597-udc: fix spinlock usage
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 4 Apr 2011 04:09:22 +0000 (13:09 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Apr 2011 22:44:00 +0000 (15:44 -0700)
commit2c2da1799ba776c4bd8d51ee46d9f00cb4cc6120
tree2695612408a89e40fb180e44065e8a616f942609
parent0291303d37585ab9056bae9fac1d1e13ae1ce913
usb: r8a66597-udc: fix spinlock usage

Because the disconnect function in the composite driver will call spin_lock,
this driver has to call spin_unlock before calling driver->disconnet().

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/r8a66597-udc.c