]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: acp-legacy: Add legacy card support for new machines
authorAjit Kumar Pandey <AjitKumar.Pandey@amd.com>
Tue, 22 Feb 2022 12:42:12 +0000 (18:12 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 24 Feb 2022 17:44:00 +0000 (17:44 +0000)
commit54acf4aa1236e543a08d114ed5ffb7d465e5bc69
tree56e18c5a765071e875d5dfd17bc41eb78b35a6e0
parent7da11dba4bfb4709b776fe4f111df1beee6fef52
ASoC: amd: acp-legacy: Add legacy card support for new machines

We have newer renoir platforms with different codecs combinations.
Add struct in legacy machine driver and add to list of supported
renoir machine to support sound card registration on platform with
rt5682s as primary headset codec and max98360 and rt1019 as speaker
amp codec.

This also fixes error reported by kernel robot:
"error: 'EN_SPKR_GPIO_DW' undeclared here"

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Link: https://lore.kernel.org/r/20220222124213.721224-3-AjitKumar.Pandey@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-legacy-mach.c
sound/soc/amd/acp/acp-renoir.c