usb: gadget: f_fs: add missing spinlock and mutex unlock
authorRobert Baldyga <r.baldyga@samsung.com>
Mon, 10 Mar 2014 08:33:37 +0000 (09:33 +0100)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:32:06 +0000 (14:32 +0900)
commit11a71ed7e9dabce3dd597a628147dbaf54825cee
tree4b6b804e118aeeca502694fcfe0ed879e7450ab5
parent64536088d017c2bbb8d3b44900b0468135683372
usb: gadget: f_fs: add missing spinlock and mutex unlock

This patch adds missing spin_unlock and mutex_unlock calls in
error handling code.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[backport from upstream commit 48968f8d5f2234fb1768c55cf7d96d0b87446cd6]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-id: I48968f8d5f2234fb1768c55cf7d96d0b87446cd6
drivers/usb/gadget/f_fs.c