OSDN Git Service

ASoC: amd: acp-mach: Fix Left and Right rt1019 amp devices
authorAjit Kumar Pandey <AjitKumar.Pandey@amd.com>
Thu, 20 Jan 2022 13:36:01 +0000 (19:06 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 21 Jan 2022 16:33:06 +0000 (16:33 +0000)
commit248be352bbae1a0f14d0d3511a5b0bb9665097f5
treeb8e632fe9c86e5aadf838424e8db1fed03ab8e54
parent579b2c8f72d974f27d85bbd53846f34675ee3b01
ASoC: amd: acp-mach: Fix Left and Right rt1019 amp devices

We're setting wrong card codec conf for rt1019 amp devices in our
machine driver. Due to this left and right amp channels data are
reversed in our machines as wrong device prefix results in wrong
value for "Mono LR Select" rt1019 mixer control. Reverse dev ids
in codec conf with Left and Right name_prefix to fix such issue.

Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Link: https://lore.kernel.org/r/20220120133605.476138-1-AjitKumar.Pandey@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-mach-common.c