OSDN Git Service

ASoC: amd: enable build for RN machine driver
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Mon, 18 May 2020 17:17:04 +0000 (01:17 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 19 May 2020 12:45:37 +0000 (13:45 +0100)
This patch enables build for RN machine driver.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200518171704.24999-15-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/Kconfig
sound/soc/amd/renoir/Makefile

index 5f57a47..77ffdb4 100644 (file)
@@ -42,3 +42,10 @@ config SND_SOC_AMD_RENOIR
        depends on X86 && PCI
        help
         This option enables ACP support for Renoir platform
+
+config SND_SOC_AMD_RENOIR_MACH
+       tristate "AMD Renoir support for DMIC"
+       select SND_SOC_DMIC
+       depends on SND_SOC_AMD_RENOIR
+       help
+        This option enables machine driver for DMIC
index 4310051..e437193 100644 (file)
@@ -4,3 +4,4 @@ snd-rn-pci-acp3x-objs   := rn-pci-acp3x.o
 snd-acp3x-pdm-dma-objs := acp3x-pdm-dma.o
 obj-$(CONFIG_SND_SOC_AMD_RENOIR)        += snd-rn-pci-acp3x.o
 obj-$(CONFIG_SND_SOC_AMD_RENOIR)        += snd-acp3x-pdm-dma.o
+obj-$(CONFIG_SND_SOC_AMD_RENOIR_MACH)  += acp3x-rn.o