ASoC: xlnx: enable SPDIF driver build
authorMaruthi Srinivas Bayyavarapu <maruthi.srinivas.bayyavarapu@xilinx.com>
Thu, 3 Jan 2019 18:09:53 +0000 (23:39 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jan 2019 18:08:09 +0000 (18:08 +0000)
Added SPDIF driver build related changes.

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 ac48d6a00c36d1d83dd95e948576fa08a74f4bf1..47f606b924e4acf410deeab7aa055c770918ff0b 100644 (file)
@@ -13,3 +13,10 @@ config SND_SOC_XILINX_AUDIO_FORMATTER
           Select this option to enable Xilinx audio formatter
           support. This provides DMA platform device support for
           audio functionality.
+
+config SND_SOC_XILINX_SPDIF
+        tristate "Audio support for the the Xilinx SPDIF"
+        help
+          Select this option to enable Xilinx SPDIF Audio.
+          This provides playback and capture of SPDIF audio in
+          AES format.
index 432693b1cc79223ba63342f2eabf36b144d9c208..d79fd38b094b903fd43b06abf5d1b41041054342 100644 (file)
@@ -2,3 +2,5 @@ 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
+snd-soc-xlnx-spdif-objs := xlnx_spdif.o
+obj-$(CONFIG_SND_SOC_XILINX_SPDIF) += snd-soc-xlnx-spdif.o