diff options
| author | Mika Westerberg <[email protected]> | 2023-11-07 13:06:25 +0200 |
|---|---|---|
| committer | Mika Westerberg <[email protected]> | 2023-12-14 08:07:44 +0200 |
| commit | 79fff9379e6c928d376e5d8f7f63894ebff67865 (patch) | |
| tree | 40f13416246b0f843d2f2fc58b3fdb3509b65e8e /tools/perf/scripts/python/task-analyzer.py | |
| parent | 655b8af57d31e07340b023a807e43dadf81a0818 (diff) | |
thunderbolt: Unwind TMU configuration if tb_switch_set_tmu_mode_params() fails
Dan reported that the kernel test robot found an issue with the TMU code
namely in tb_switch_tmu_change_mode() where we should actually go back
to the previous mode in case of failure instead of just returning back
the error. Fix this by unwinding the configuration as we do with the
other error paths in this function.
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions