diff options
author | Daniel Lezcano <[email protected]> | 2022-01-30 22:02:03 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2022-02-23 19:45:13 +0100 |
commit | 7b75bbdf5bedebed387aac6ad8411ed1cf3db5d0 (patch) | |
tree | 1971fc02bccf8b14a48b85df14597b628434b5ff /lib | |
parent | b9d6c47a2be8d273ecc063afda6e9fd66a35116d (diff) |
powercap/dtpm: Change locking scheme
The different functions are all called through the
dtpm_create_hierarchy() which handle the mutex. The different
functions are used in this context, consequently with the lock always
held.
Remove all locks taken in the function and add the lock in the
hierarchy creation function.
Signed-off-by: Daniel Lezcano <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions