OSDN Git Service

ASoC: xlnx: enable audio formatter driver build
authorMaruthi Srinivas Bayyavarapu <maruthi.srinivas.bayyavarapu@xilinx.com>
Fri, 21 Dec 2018 08:57:29 +0000 (14:27 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 3 Jan 2019 16:34:22 +0000 (16:34 +0000)
Enable audio formatter driver build.

Signed-off-by: Maruthi Srinivas Bayyavarapu <maruthi.srinivas.bayyavarapu@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/xilinx/Kconfig
sound/soc/xilinx/Makefile

index 723a583..ac48d6a 100644 (file)
@@ -6,3 +6,10 @@ config SND_SOC_XILINX_I2S
          mode, IP receives audio in AES format, extracts PCM and sends
          PCM data. In receiver mode, IP receives PCM audio and
          encapsulates PCM in AES format and sends AES data.
+
+config SND_SOC_XILINX_AUDIO_FORMATTER
+        tristate "Audio support for the the Xilinx audio formatter"
+        help
+          Select this option to enable Xilinx audio formatter
+          support. This provides DMA platform device support for
+          audio functionality.
index 6c1209b..432693b 100644 (file)
@@ -1,2 +1,4 @@
 snd-soc-xlnx-i2s-objs      := xlnx_i2s.o
 obj-$(CONFIG_SND_SOC_XILINX_I2S) += snd-soc-xlnx-i2s.o
+snd-soc-xlnx-formatter-pcm-objs := xlnx_formatter_pcm.o
+obj-$(CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER) += snd-soc-xlnx-formatter-pcm.o