Skip to contentSkip to conversation

ASoC: SPEAr: Add dependency on dmaengine helpers

PATCH In review Mark Brown 3 participants 5 messages Jun 14, 2013 – Jun 15, 2013

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/2 ASoC: SPEAr: Add dependency on dmaengine helpers

I'd be very surprised if anyone has used the Kconfig...

---
 sound/soc/spear/Kconfig |    1 +
 1 file changed, 1 insertion(+)
sound/soc/spear/Kconfig +1 -0
index 3b7cdad..5b744ed 100644
@@ -27,6 +27,7 @@ config SND_SPEAR_SOC
 	 Say Y or M if you want to add support for any of the audio
 	 controllers (I2S/SPDIF). You will also need to select
 	 the audio interface codecs to support below.
+	select SND_SOC_DMAENGINE_PCM
 
 config SND_SPEAR_SPDIF_OUT
 	tristate "SPEAr SPDIF Out Device Driver"
Signature · 1 line
1.7.10.4
author
#1 lore raw

PATCH 2/2 ASoC: SPEAr: Hide component drivers in Kconfig

The individual component drivers are only useful with a machine driver and should be selected by the machine drivers so shouldn't have help text of their own in order to hide them in interactive configuration.

---
 sound/soc/spear/Kconfig |   16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)
sound/soc/spear/Kconfig +3 -13
index 5b744ed..e3851d6 100644
@@ -20,21 +20,11 @@ config SND_SPEAR1340_EVM
 	 platform
 
 config SND_SPEAR_SOC
-	tristate "SoC Audio for the ST chip"
-	depends on SND_DESIGNWARE_I2S || SND_SPEAR_SPDIF_OUT || \
-		SND_SPEAR_SPDIF_IN
-	help
-	 Say Y or M if you want to add support for any of the audio
-	 controllers (I2S/SPDIF). You will also need to select
-	 the audio interface codecs to support below.
+	tristate
 	select SND_SOC_DMAENGINE_PCM
 
 config SND_SPEAR_SPDIF_OUT
-	tristate "SPEAr SPDIF Out Device Driver"
-	help
-	 Say Y or M if you want to add support for SPDIF OUT driver.
+	tristate
 
 config SND_SPEAR_SPDIF_IN
-	tristate "SPEAr SPDIF IN Device Driver"
-	help
-	 Say Y or M if you want to add support for SPDIF IN driver.
+	tristate
Signature · 1 line
1.7.10.4
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] ASoC: SPEAr: Hide component drivers in Kconfig

Quoted 8 lines · Mark Brown

The individual component drivers are only useful with a machine driver and should be selected by the machine drivers so shouldn't have help text of their own in order to hide them in interactive configuration.

---
 sound/soc/spear/Kconfig |   16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)
Acked-by on v1 1/2
#3 lore raw
In reply to Mark Brown
Quoted 1 line · Mark Brown

I'd be very surprised if anyone has used the Kconfig...

This might be selected directly by defconfig...

Quoted 10 lines
---
 sound/soc/spear/Kconfig |    1 +
 1 file changed, 1 insertion(+)
sound/soc/spear/Kconfig +0 -0
index 3b7cdad..5b744ed 100644

sound/soc/spear/Kconfig config SND_SPEAR_SOC · line 33

Quoted 7 lines
sound/soc/spear/Kconfig +1 -0
@@ -27,6 +27,7 @@ config SND_SPEAR_SOC
         Say Y or M if you want to add support for any of the audio
         controllers (I2S/SPDIF). You will also need to select
         the audio interface codecs to support below.
+       select SND_SOC_DMAENGINE_PCM
 
 config SND_SPEAR_SPDIF_OUT
        tristate "SPEAr SPDIF Out Device Driver"
maintainer
#4 lore raw
Quoted 5 lines · Viresh Kumar
Quoted 1 line · Mark Brown

I'd be very surprised if anyone has used the Kconfig...

This might be selected directly by defconfig...

No, any select only options like that should be deselected automatically during the build if they're not required any more.