commit | 4fc50ba5965ac2b360499d4a23eb10d04414dd36 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Apr 02 07:51:08 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Apr 04 15:18:37 2016 +0300 |
tree | 1a59f269b569aef2b01b74546e6a9adfa540f0ea | |
parent | 6490865c67825277b29638e839850882600b48ec [diff] |
usb: gadget: f_midi: unlock on error We added some new locking here, but missed an error path where we need to unlock. Fixes: 9acdf4df2fc4 ('usb: gadget: f_midi: added spinlock on transmit function') Acked-by: Michal Nazarewicz <mina86@mina86.com> Acked-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>