All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Intel Kconfig: add SND_SOC_INTEL_BOARDS option
@ 2015-06-18 19:59 Michele Curti
  2015-06-19  8:08 ` Vinod Koul
  0 siblings, 1 reply; 3+ messages in thread
From: Michele Curti @ 2015-06-18 19:59 UTC (permalink / raw)
  To: lgirdwood
  Cc: Michele Curti, alsa-devel, tiwai, vinod.koul, broonie,
	jarkko.nikula

Machine drivers under boards folder must be available for both
SND_SST_MFLD_PLATFORM and SND_SOC_INTEL_SST.  This patch adds a
new kernel option SND_SOC_INTEL_BOARD to permit this.

Signed-off-by: Michele Curti <michele.curti@gmail.com>
---
 sound/soc/intel/Kconfig  | 5 +++++
 sound/soc/intel/Makefile | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
index f3060a4..c442cd7 100644
--- a/sound/soc/intel/Kconfig
+++ b/sound/soc/intel/Kconfig
@@ -10,7 +10,11 @@ config SND_MFLD_MACHINE
           Say Y if you have such a device
           If unsure select "N".
 
+config SND_SOC_INTEL_BOARDS
+	tristate
+
 config SND_SST_MFLD_PLATFORM
+	select SND_SOC_INTEL_BOARDS
 	tristate
 
 config SND_SST_IPC
@@ -28,6 +32,7 @@ config SND_SST_IPC_ACPI
 config SND_SOC_INTEL_SST
 	tristate "ASoC support for Intel(R) Smart Sound Technology"
 	select SND_SOC_INTEL_SST_ACPI if ACPI
+	select SND_SOC_INTEL_BOARDS
 	depends on (X86 || COMPILE_TEST)
 	depends on DW_DMAC_CORE
 	help
diff --git a/sound/soc/intel/Makefile b/sound/soc/intel/Makefile
index 3853ec2..4c4bf74 100644
--- a/sound/soc/intel/Makefile
+++ b/sound/soc/intel/Makefile
@@ -7,4 +7,4 @@ obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += baytrail/
 obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += atom/
 
 # Machine support
-obj-$(CONFIG_SND_SOC_INTEL_SST) += boards/
+obj-$(CONFIG_SND_SOC_INTEL_BOARDS) += boards/
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: Intel Kconfig: add SND_SOC_INTEL_BOARDS option
  2015-06-18 19:59 [PATCH] ASoC: Intel Kconfig: add SND_SOC_INTEL_BOARDS option Michele Curti
@ 2015-06-19  8:08 ` Vinod Koul
  2015-06-19  8:58   ` Liam Girdwood
  0 siblings, 1 reply; 3+ messages in thread
From: Vinod Koul @ 2015-06-19  8:08 UTC (permalink / raw)
  To: Michele Curti; +Cc: alsa-devel, tiwai, lgirdwood, broonie, jarkko.nikula

On Thu, Jun 18, 2015 at 09:59:39PM +0200, Michele Curti wrote:
> Machine drivers under boards folder must be available for both
> SND_SST_MFLD_PLATFORM and SND_SOC_INTEL_SST.  This patch adds a
> new kernel option SND_SOC_INTEL_BOARD to permit this.

I dont think we need another config option, we should rather use SND_SOC :)

Also Liam, do we need a prompt for SND_SOC_INTEL_SST, i am thinking of
removing that one and have it selected by respective machine drivers?

-- 
~Vinod


> 
> Signed-off-by: Michele Curti <michele.curti@gmail.com>
> ---
>  sound/soc/intel/Kconfig  | 5 +++++
>  sound/soc/intel/Makefile | 2 +-
>  2 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
> index f3060a4..c442cd7 100644
> --- a/sound/soc/intel/Kconfig
> +++ b/sound/soc/intel/Kconfig
> @@ -10,7 +10,11 @@ config SND_MFLD_MACHINE
>            Say Y if you have such a device
>            If unsure select "N".
>  
> +config SND_SOC_INTEL_BOARDS
> +	tristate
> +
>  config SND_SST_MFLD_PLATFORM
> +	select SND_SOC_INTEL_BOARDS
>  	tristate
>  
>  config SND_SST_IPC
> @@ -28,6 +32,7 @@ config SND_SST_IPC_ACPI
>  config SND_SOC_INTEL_SST
>  	tristate "ASoC support for Intel(R) Smart Sound Technology"
>  	select SND_SOC_INTEL_SST_ACPI if ACPI
> +	select SND_SOC_INTEL_BOARDS
>  	depends on (X86 || COMPILE_TEST)
>  	depends on DW_DMAC_CORE
>  	help
> diff --git a/sound/soc/intel/Makefile b/sound/soc/intel/Makefile
> index 3853ec2..4c4bf74 100644
> --- a/sound/soc/intel/Makefile
> +++ b/sound/soc/intel/Makefile
> @@ -7,4 +7,4 @@ obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += baytrail/
>  obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += atom/
>  
>  # Machine support
> -obj-$(CONFIG_SND_SOC_INTEL_SST) += boards/
> +obj-$(CONFIG_SND_SOC_INTEL_BOARDS) += boards/
> -- 
> 2.4.3
> 

-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: Intel Kconfig: add SND_SOC_INTEL_BOARDS option
  2015-06-19  8:08 ` Vinod Koul
@ 2015-06-19  8:58   ` Liam Girdwood
  0 siblings, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2015-06-19  8:58 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Michele Curti, alsa-devel, tiwai, lgirdwood, broonie,
	jarkko.nikula

On Fri, 2015-06-19 at 13:38 +0530, Vinod Koul wrote:
> On Thu, Jun 18, 2015 at 09:59:39PM +0200, Michele Curti wrote:
> > Machine drivers under boards folder must be available for both
> > SND_SST_MFLD_PLATFORM and SND_SOC_INTEL_SST.  This patch adds a
> > new kernel option SND_SOC_INTEL_BOARD to permit this.
> 
> I dont think we need another config option, we should rather use SND_SOC :)
> 
> Also Liam, do we need a prompt for SND_SOC_INTEL_SST, i am thinking of
> removing that one and have it selected by respective machine drivers?

Yeah, lets simplify our Kconfig now that we have cleaned up the intel
directory.

Liam

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-19  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-18 19:59 [PATCH] ASoC: Intel Kconfig: add SND_SOC_INTEL_BOARDS option Michele Curti
2015-06-19  8:08 ` Vinod Koul
2015-06-19  8:58   ` Liam Girdwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.