OSDN Git Service

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)
commiteee33bac9e7d71e6eb9ab5f863efdb9d44174e0a
tree56e18c5a765071e875d5dfd17bc41eb78b35a6e0
parentabdcf7282f390ae7b95de4bdf93b07ebabeb0f01
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