]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfea6208bd7752ad32af5780a78d45dcae4e95e31
tree2695612408a89e40fb180e44065e8a616f942609
parent41bd44704480eb8df7a9f44e2f97ea9b0bb9d679
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