diff options
| author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2026-09-10 18:50:01 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-17 12:48:19 +0100 |
| commit | e419e9a6cbfe1d0947dd5ab8dabe9a5ed4b4f572 (patch) | |
| tree | a89d60d6fa79c30809bba29fe56c01f1f173a3c2 /tools/perf/scripts/python/task-analyzer.py | |
| parent | df2908090cda368b01ff43709f51890076c56157 (diff) | |
ASoC: SOF: amd: return -EINVAL for unknown PCI revision in acp7x suspend
amd_sof_acp7x_suspend() is registered only for ACP7.B and ACP7.F
platforms. If an unexpected PCI revision reaches the switch statement
the default case previously fell through, leaving ACP_CONTROL
with a stale value (enable=false) before writing ZSC_DSP_CTRL=1.
Return -EINVAL instead to surface the programming error immediately.
Fixes: 1c9646f3180e ("ASoC: SOF: amd: add system and runtime PM ops for ACP7x")
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20260910132251.1171943-2-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
