]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12b781e5b4704dbcc0355b4f89731c65feadacf2
tree65791d4ba025823edf495b431b6abbcd6569a9d2
parent6e1b1392feeb29cdfa65b2fc0696f131a7ccf200
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