diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2024-10-07 14:23:20 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-07 15:35:45 +0100 |
commit | 7ce8e4d380d68f34edc96c7efcf95b1476e7f033 (patch) | |
tree | f433dd7ba6a88627a02aa45228fbf6d729400580 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 914219d74931211e719907e0eed03d8133f8b1b7 (diff) |
ASoC: amd: acp: fix for cpu dai index logic
Multi link aggregation is not supported for acp6.3 platform.
Below combinations are supported.
- one sdw BE DAI <---> one-cpu DAI <---> one-codec DAI
- one sdw BE DAI <---> one-cpu DAI <---> multi-codec DAIs
As Single cpu dai is going to be created, In create_sdw_dailink() function
cpu dai index won't be incremented.
Refactor cpu dai index logic to fix below smatch static checker warning.
sound/soc/amd/acp/acp-sdw-sof-mach.c:157 create_sdw_dailink()
warn: iterator 'i' not incremented.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/a201e871-375e-43eb-960d-5c048956c2ff@amd.com/T/
Fixes: 6d8348ddc56e ("ASoC: amd: acp: refactor SoundWire machine driver code")
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20241007085321.3991149-3-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions