]> 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)
commit44146ed6fd8bca0b3e1795ff05c6eaae9a701aac
tree56e18c5a765071e875d5dfd17bc41eb78b35a6e0
parentf8cf19aa4e09662cacc7dcf9b3474b90793ba2a2
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