aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorEddie James <[email protected]>2022-06-06 13:54:55 -0500
committerGuenter Roeck <[email protected]>2022-06-07 05:45:42 -0700
commitac6888ac5a11c0a47d1f1da4b7809c0c595fdc5d (patch)
treead0d649983093866394891e93480940030bfc4e6 /scripts/gdb/linux/timerlist.py
parent5e3f89ad8e0cbd75aa3479e9ceb96d9e1c5585b8 (diff)
hwmon: (occ) Lock mutex in shutdown to prevent race with occ_active
Unbinding the driver or removing the parent device at the same time as using the OCC active sysfs file can cause the driver to unregister the hwmon device twice. Prevent this by locking the occ mutex in the shutdown function. Signed-off-by: Eddie James <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions