]> www.infradead.org Git - linux.git/commit
ASoC: amd: Add check for acp config flags
authorSyed Saba Kareem <Syed.SabaKareem@amd.com>
Wed, 12 Apr 2023 09:16:16 +0000 (14:46 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 12 Apr 2023 11:52:01 +0000 (12:52 +0100)
commitbddcfb0802eb69b0f51293eab5db33d344c0262f
tree09319bbef6586c965fa6beeecf1e0c8d2bbb854f
parentd93ee84e3eb5d1afc081e57ca37f1411a01f2c94
ASoC: amd: Add check for acp config flags

We have SOF and generic ACP support enabled for Rembrandt and
pheonix 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: Syed Saba Kareem <Syed.SabaKareem@amd.com>
Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20230412091638.1158901-1-Syed.SabaKareem@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/Kconfig
sound/soc/amd/ps/acp63.h
sound/soc/amd/ps/pci-ps.c
sound/soc/amd/yc/acp6x.h
sound/soc/amd/yc/pci-acp6x.c