diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-04-09 10:40:39 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 19:10:02 +0100 |
| commit | 0f8d8b3548fbbc1ee04ffa5a9bee4e57d3cf447c (patch) | |
| tree | dd9f543e58f9976da222c8b5d810feaada1d4f65 /tools/perf/scripts/python/task-analyzer.py | |
| parent | a34b88b48a15f5d49207966fa78e14e71e16ac6c (diff) | |
| download | linux-0f8d8b3548fbbc1ee04ffa5a9bee4e57d3cf447c.tar.gz linux-0f8d8b3548fbbc1ee04ffa5a9bee4e57d3cf447c.zip | |
iio: dac: ad5592r: destroy mutexes in detach paths
The locks used here are initialized but never released which causes
resource leaks with mutex debugging enabled. Add missing calls to
mutex_destroy() or use devres if applicable.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250409-gpiochip-set-rv-iio-v2-1-4b36428f39cb@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
