diff options
author | Yang Yingliang <[email protected]> | 2022-10-27 14:29:31 +0800 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2022-12-04 16:45:02 -0800 |
commit | b744db17abf6a2efc2bfa80870cc88e9799a8ccc (patch) | |
tree | f304b6440f143dc366e430b415294625e14a63c6 /tools/perf/scripts/python/libxed.py | |
parent | 084ed144c448fd5bc8ed5a58247153fbbfd115c3 (diff) |
hwmon: (jc42) Fix missing unlock on error in jc42_write()
Add the missing unlock before return from function jc42_write()
in the error handling case.
Fixes: 37dedaee8bc6 ("hwmon: (jc42) Convert register access and caching to regmap/regcache")
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Martin Blumenstingl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions