[alsa-devel] [RFC 4/4] ASoC SST: Add makefiles and kconfigs changes
Mark Brown
broonie at opensource.wolfsonmicro.com
Tue Dec 28 16:00:23 CET 2010
On Tue, Dec 28, 2010 at 05:41:55PM +0530, Koul, Vinod wrote:
> @@ -55,6 +55,7 @@ source "sound/soc/samsung/Kconfig"
> source "sound/soc/s6000/Kconfig"
> source "sound/soc/sh/Kconfig"
> source "sound/soc/txx9/Kconfig"
> +source "sound/soc/mid-x86/Kconfig"
Here and elsewhere keep the lists sorted.
> select SND_SOC_WM9713 if SND_SOC_AC97_BUS
> - help
> + select SND_SOC_MSIC if INTEL_SCU_IPC
> + help
Random indentation change as well as the sorting issue here.
> Normally ASoC codec drivers are only built if a machine driver which
> uses them is also built since they are only usable with a machine
> driver. Selecting this option will allow these drivers to be built
> @@ -321,6 +322,8 @@ config SND_SOC_WM9712
>
> config SND_SOC_WM9713
> tristate
> +config SND_SOC_MSIC
> + tristate
>
Sorting and a missing blank line.
> index 6a1e17b..07cedc0 100644
> --- a/sound/soc/codecs/Makefile
> +++ b/sound/soc/codecs/Makefile
> @@ -1,3 +1,4 @@
> +EXTRA_CFLAGS += -DDEBUG
> snd-soc-88pm860x-objs := 88pm860x-codec.o
This shouldn't be here.
> @@ -0,0 +1,20 @@
> +#config SND_MID_PLATFORM
> +# tristate "SoC Platform Audio driver for Intel MID chips"
> +# default y
> +# help
> +# Say Y if you want to add support for SoC platform driver for Intel MID
Remove this if you're not going to use it.
> +config SND_MID_MACHINE
> + tristate "SOC Machine Audio driver for Intel MID chips"
> + select SND_SOC_MSIC
> + select SND_MID_PLATFORM
> + default n
> + help
> + Say Y if you want to add support for SoC machine driver for Intel MID
No need to specify default n, it is the default.
> +++ b/sound/soc/mid-x86/Makefile
> @@ -0,0 +1,9 @@
> +EXTRA_CFLAGS += -DDEBUG
Omit this too.
More information about the Alsa-devel
mailing list