diff options
| author | Yang Yingliang <[email protected]> | 2023-07-28 16:51:20 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-07-30 13:25:31 +0200 |
| commit | 6bb75eb9ff3acfc3e1f31c01d70e72b3b3637167 (patch) | |
| tree | 652349449608df99273e16363875c019293a1163 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ba0b3af706305e5b11fd832eecd2c4a7fce57156 (diff) | |
usb: gadget: midi2: fix missing unlock in f_midi2_block_opts_create()
In the error path in f_midi2_block_opts_create(), mutex_unlock() is missed,
fix it by move the unlock after 'out' label.
Fixes: 29ee7a4dddd5 ("usb: gadget: midi2: Add configfs support")
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Takashi Iwai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions