usb: gadget: pch_udc: Fix disconnect issue
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Thu, 12 Jan 2012 02:27:05 +0000 (11:27 +0900)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Jan 2012 09:34:02 +0000 (11:34 +0200)
commitc50a3bff0edb0acd49d8033a12ea4668e09a31ad
tree9c884d460e64f4ec9996e7ce5df7dd6423a93e8b
parent294f78ec493e69b55bcba566d4fe264d041aba8d
usb: gadget: pch_udc: Fix disconnect issue

ISSUE:
When the driver notifies a gadget of a disconnect event, a system
rarely freezes.

CAUSE:
When the driver calls dev->driver->disconnect(), it is not calling
spin_unlock().

Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/pch_udc.c