diff options
| author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2026-07-15 10:47:57 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-19 22:25:10 +0100 |
| commit | 890b4253134f3a39883af7d5bea67af9c494c56d (patch) | |
| tree | 863af16f9d6829a9b0c336766d2915c96463e52e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 1590cf0329716306e948a8fc29f1d3ee87d3989f (diff) | |
ASoC: fsl_asrc: fix m2m_init error path to use goto instead of bare return
When fsl_asrc_m2m_init() fails in fsl_asrc_probe(), the code did a
bare return ret, bypassing pm_runtime_disable() in err_pm_get_sync.
Use goto err_pm_get_sync to ensure proper cleanup on failure.
Fixes: 286d658477a4 ("ASoC: fsl_asrc: register m2m platform device")
Cc: stable@vger.kernel.org
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20260715024758.1252801-2-shengjiu.wang@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
