diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-01-05 11:28:09 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2016-03-04 14:14:34 +0100 |
commit | 413489c8337bf86b7787248484b1e845111809be (patch) | |
tree | c73701933073e24623d22c9e56df397b11e825e0 /scripts | |
parent | usb: gadget: f_midi: use flexible array member for gmidi_in_port elements (diff) | |
download | linux-413489c8337bf86b7787248484b1e845111809be.tar.xz linux-413489c8337bf86b7787248484b1e845111809be.zip |
usb: gadget: f_midi: missing unlock on error path
We added a new error path to this function and we forgot to drop the
lock.
Fixes: e1e3d7ec5da3 ('usb: gadget: f_midi: pre-allocate IN requests')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
[mina86@mina86.com: rebased on top of refactoring commit]
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions