aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSteven Price <[email protected]>2023-06-01 11:55:48 +0100
committerGreg Kroah-Hartman <[email protected]>2023-06-01 14:04:01 +0100
commitd0a396083e91e3f118c90afa95c91f8c243a6c11 (patch)
treebaf4fa3ccf8c923bd6bdf7631173c061736b8e12 /tools/perf/scripts/python/task-analyzer.py
parent84a9582fd203063cd4d301204971ff2cd8327f1a (diff)
serial: core: Don't drop port_mutex in serial_core_remove_one_port
Commit 84a9582fd203 ("serial: core: Start managing serial controllers to enable runtime PM") required the caller to hold port_mutex rather than taking it locally. However the mutex_unlock() call wasn't removed causing the mutex to be dropped unexpectly. Remove the call to mutex_unlock() (and fix up the early return) to restore correct behaviour. Fixes: 84a9582fd203 ("serial: core: Start managing serial controllers to enable runtime PM") Signed-off-by: Steven Price <[email protected]> Reviewed-by: Tony Lindgren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions