]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: renoir: Add check for acp configuration flags
authorAjit Kumar Pandey <AjitKumar.Pandey@amd.com>
Mon, 17 Jan 2022 11:58:54 +0000 (17:28 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 28 Jan 2022 15:59:35 +0000 (15:59 +0000)
commit21a0b277d2a5aa6042a04f41af0f5b7faf4f6c89
treea4dd982a7c09dcfb87eafd805078856e3e78bbf6
parent7fe900c53c3c41a4d1a383b0ebfe8e17ec9ee0e6
ASoC: amd: renoir: Add check for acp configuration flags

We have SOF and generic ACP support enabled for Renoir platforms
on some machines. Since we have same PCI id used for probing, add
check for machine configuration flag to avoid conflict with newer
pci drivers. Such machine flag has been initialized via dmi match
on few Chrome machines. If no flag is specified probe and register
older platform device.

Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Link: https://lore.kernel.org/r/20220117115854.455995-7-AjitKumar.Pandey@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/Kconfig
sound/soc/amd/renoir/rn-pci-acp3x.c
sound/soc/amd/renoir/rn_acp3x.h