ASoC: SPEAr: Add dependency on dmaengine helpers
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
@@ -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
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
@@ -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
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.
Signed-off-by Mark Brown <[email protected]>--- sound/soc/spear/Kconfig | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-)
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
Signed-off-by Mark Brown <[email protected]>--- sound/soc/spear/Kconfig | 1 + 1 file changed, 1 insertion(+)sound/soc/spear/Kconfig +0
-0
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"
Mark Brown
maintainerQuoted 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.