diff options
author | George Stark <[email protected]> | 2023-12-14 20:36:05 +0300 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-03-07 08:48:10 +0000 |
commit | 6969d0a2ba1adc9ba6a49b9805f24080896c255c (patch) | |
tree | a262ea98901a874fa0c38252a7eb61e633b1e002 /tools/perf/util/trace-event-scripting.c | |
parent | bfa0f02d75860437a3271dcde5030ea610b1bd56 (diff) |
leds: aw2013: Unlock mutex before destroying it
In the probe() callback in case of error mutex is destroyed being locked
which is not allowed so unlock the mutex before destroying.
Fixes: 59ea3c9faf32 ("leds: add aw2013 driver")
Signed-off-by: George Stark <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions