aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-10-12 12:41:12 +0300
committerChanwoo Choi <[email protected]>2023-10-17 17:54:01 +0900
commit6c29e29e4d7f29348a9e051ad5bdb833c5a1bbb6 (patch)
treeb76bd949a5eff0637c08c30c39418d80ab64e32d /tools/perf/util/trace-event-scripting.c
parente50fa1a5ac52e2a2ec09b8028bdb1c4bf9166cbc (diff)
PM / devfreq: mediatek: unlock on error in mtk_ccifreq_target()
Call mutex_unlock(&drv->reg_lock) before returning the error code. Link: https://lore.kernel.org/all/[email protected]/ Fixes: d2805601988f ("PM / devfreq: mediatek: protect oop in critical session") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions