diff options
| author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2026-09-10 21:46:47 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-16 20:08:17 +0100 |
| commit | 0b7d55d3a91200f2b1ed710f525a944b0a7d6369 (patch) | |
| tree | 32b6e02076a9068875cb111fa45d222faa9aaedc /scripts/Makefile.thinlto | |
| parent | 29218a4d11a31a8157389bc2b9e62dd768d7ea42 (diff) | |
| download | linux-0b7d55d3a91200f2b1ed710f525a944b0a7d6369.tar.gz linux-0b7d55d3a91200f2b1ed710f525a944b0a7d6369.zip | |
ASoC: amd: acp: refactor codec config count in SOF SoundWire machine driver
num_devs was used both as the endpoint count and as the output for
asoc_sdw_parse_sdw_endpoints(), which overwrites it with the codec
configuration count. Introduce a separate num_confs variable to hold
the codec conf count so the two values remain distinct across
codec_conf allocation and card->num_configs assignment.
Fixes: 6d8348ddc56e ("ASoC: amd: acp: refactor SoundWire machine driver code")
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/20260910161728.1452808-3-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
