usb: gadget: double unlocks on error in atmel_usba_start()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 21 Aug 2013 08:42:24 +0000 (11:42 +0300)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Aug 2013 20:05:35 +0000 (15:05 -0500)
commitffb62a14c7b6109ca4ee9bb360ad867b294acddc
tree65791d4ba025823edf495b431b6abbcd6569a9d2
parent0f82768406914d1391ec6d087500db7405f8f68e
usb: gadget: double unlocks on error in atmel_usba_start()

The "goto out" statements were wrong.  We aren't holding any locks at
that point so we should return directly.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/atmel_usba_udc.c