]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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 5f57a47382b4d9366dd1fac1174b619715606b07..77ffdb41bee5d55b181055e1487ed8dc0f3e215b 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 43100515c7db82c0050fc188c0250b59738f2214..e4371932a55a66a6215b6478646570a8dcb1131e 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