summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorȘtefan Ghețu <stefanghetu9@gmail.com>2026-09-02 20:55:17 +0300
committerMark Brown <broonie@kernel.org>2026-09-07 18:30:18 +0100
commit88be49b2f8482a438068243e36b50debc56c4d4a (patch)
tree3e9ff82a5dc81bafe83bbc158c694047a98c082a /tools/perf/scripts/python/stackcollapse.py
parent54d2573c0b01b948a8d0acc92f18f5632890c710 (diff)
ASoC: SOF: imx8: check imx_sc_pm_cpu_start() return value
imx8_run(), imx8x_run() and imx8_shutdown() check the return value of every imx_sc_misc_set_control() call but ignore the one from imx_sc_pm_cpu_start(), which propagates errors from imx_scu_call_rpc() and can fail with -ETIMEDOUT, -EINVAL or -EPERM. Reporting success after a failed start leaves the caller loading firmware onto a core that is not running, and a failed shutdown is similarly hidden from imx_chip_core_shutdown() callers, which do act on the return value. Propagate the error, matching imx95_core_shutdown() in imx9.c. Signed-off-by: Ștefan Ghețu <stefanghetu9@gmail.com> Link: https://patch.msgid.link/20260902175517.209406-1-stefanghetu9@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions