Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1667706

[PATCH 2/7] ASoC: stm32: change SAI configuration flag

From olivier moysan <olivier.moysan@st.com>
Newsgroups linux.kernel
Subject [PATCH 2/7] ASoC: stm32: change SAI configuration flag
Date 2017-06-16 14:30 +0200
Message-ID <tSYxX-8nq-17@gated-at.bofh.it> (permalink)
References <tSYoi-8jA-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Use a specific flag for SAI interface instead
of common stm32 asoc flag.

Signed-off-by: olivier moysan <olivier.moysan@st.com>
---
 sound/soc/stm/Kconfig  | 10 +++++++---
 sound/soc/stm/Makefile |  4 ++--
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/sound/soc/stm/Kconfig b/sound/soc/stm/Kconfig
index 972970f..d747993 100644
--- a/sound/soc/stm/Kconfig
+++ b/sound/soc/stm/Kconfig
@@ -1,8 +1,12 @@
-menuconfig SND_SOC_STM32
-	tristate "STMicroelectronics STM32 SOC audio support"
+menu "STMicroelectronics STM32 SOC audio support"
+
+config SND_SOC_STM32_SAI
+	tristate "STM32 SAI interface (Serial Audio Interface) support"
 	depends on ARCH_STM32 || COMPILE_TEST
 	depends on SND_SOC
 	select SND_SOC_GENERIC_DMAENGINE_PCM
 	select REGMAP_MMIO
 	help
-	  Say Y if you want to enable ASoC-support for STM32
+	  Say Y if you want to enable SAI for STM32
+
+endmenu
diff --git a/sound/soc/stm/Makefile b/sound/soc/stm/Makefile
index e466a47..386ce4b 100644
--- a/sound/soc/stm/Makefile
+++ b/sound/soc/stm/Makefile
@@ -1,6 +1,6 @@
 # SAI
 snd-soc-stm32-sai-sub-objs := stm32_sai_sub.o
-obj-$(CONFIG_SND_SOC_STM32) += snd-soc-stm32-sai-sub.o
+obj-$(CONFIG_SND_SOC_STM32_SAI) += snd-soc-stm32-sai-sub.o
 
 snd-soc-stm32-sai-objs := stm32_sai.o
-obj-$(CONFIG_SND_SOC_STM32) += snd-soc-stm32-sai.o
+obj-$(CONFIG_SND_SOC_STM32_SAI) += snd-soc-stm32-sai.o
-- 
1.9.1

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] ASoC: stm32: sai: misc fixes olivier moysan <olivier.moysan@st.com> - 2017-06-16 14:20 +0200
  [PATCH 1/7] dt-bindings: stm32: sai: fix DT example olivier moysan <olivier.moysan@st.com> - 2017-06-16 14:20 +0200
    Re: [PATCH 1/7] dt-bindings: stm32: sai: fix DT example Mark Brown <broonie@kernel.org> - 2017-06-16 20:00 +0200
    Applied "dt-bindings: stm32: sai: fix DT example" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-06-16 20:00 +0200
  [PATCH 7/7] ASoC: stm32: sai: manage master clock olivier moysan <olivier.moysan@st.com> - 2017-06-16 14:30 +0200
    Applied "ASoC: stm32: sai: manage master clock" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-06-16 20:00 +0200
  [PATCH 6/7] ASoC: stm32: sai: fix clock management olivier moysan <olivier.moysan@st.com> - 2017-06-16 14:30 +0200
    Applied "ASoC: stm32: sai: fix clock management" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-06-16 20:00 +0200
  [PATCH 2/7] ASoC: stm32: change SAI configuration flag olivier moysan <olivier.moysan@st.com> - 2017-06-16 14:30 +0200
    Re: [PATCH 2/7] ASoC: stm32: change SAI configuration flag Mark Brown <broonie@kernel.org> - 2017-06-16 20:00 +0200
      Re: [PATCH 2/7] ASoC: stm32: change SAI configuration flag Olivier MOYSAN <olivier.moysan@st.com> - 2017-06-19 11:00 +0200
  [PATCH 5/7] ASoC: stm32: sai: change stop sequence olivier moysan <olivier.moysan@st.com> - 2017-06-16 14:30 +0200
    Applied "ASoC: stm32: sai: change stop sequence" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-06-16 20:00 +0200
  [PATCH 3/7] ASoC: stm32: sai: typo fixes olivier moysan <olivier.moysan@st.com> - 2017-06-16 14:30 +0200
    Applied "ASoC: stm32: sai: typo fixes" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-06-16 20:00 +0200

csiph-web