All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: qcom: add dependency on HAS_DMA
@ 2016-02-29 14:25 ` Sudip Mukherjee
  0 siblings, 0 replies; 3+ messages in thread
From: Sudip Mukherjee @ 2016-02-29 14:25 UTC (permalink / raw
  To: Patrick Lai, Banajit Goswami, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai
  Cc: linux-kernel, kernel-testers, alsa-devel, Sudip Mukherjee

m32r allmodconfig build is failing with the error:
ERROR: "bad_dma_ops" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined!
ERROR: "dma_common_mmap" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined!

lpass-platform uses DMA so add HAS_DMA in the Kconfig. Also add the same
for SND_SOC_LPASS_IPQ806X and SND_SOC_LPASS_APQ8016 as they will also
select SND_SOC_LPASS_PLATFORM.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
---

m32r allmodconfig build for next-20160229 is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/112534168

 sound/soc/qcom/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig
index 3cc252e..1e7a783 100644
--- a/sound/soc/qcom/Kconfig
+++ b/sound/soc/qcom/Kconfig
@@ -11,15 +11,18 @@ config SND_SOC_LPASS_CPU
 
 config SND_SOC_LPASS_PLATFORM
 	tristate
+	depends on HAS_DMA
 	select REGMAP_MMIO
 
 config SND_SOC_LPASS_IPQ806X
 	tristate
+	depends on HAS_DMA
 	select SND_SOC_LPASS_CPU
 	select SND_SOC_LPASS_PLATFORM
 
 config SND_SOC_LPASS_APQ8016
 	tristate
+	depends on HAS_DMA
 	select SND_SOC_LPASS_CPU
 	select SND_SOC_LPASS_PLATFORM
 
-- 
1.9.1

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

* [PATCH] ASoC: qcom: add dependency on HAS_DMA
@ 2016-02-29 14:25 ` Sudip Mukherjee
  0 siblings, 0 replies; 3+ messages in thread
From: Sudip Mukherjee @ 2016-02-29 14:25 UTC (permalink / raw
  To: Patrick Lai, Banajit Goswami, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	kernel-testers-u79uwXL29TY76Z2rM5mHXA,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, Sudip Mukherjee

m32r allmodconfig build is failing with the error:
ERROR: "bad_dma_ops" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined!
ERROR: "dma_common_mmap" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined!

lpass-platform uses DMA so add HAS_DMA in the Kconfig. Also add the same
for SND_SOC_LPASS_IPQ806X and SND_SOC_LPASS_APQ8016 as they will also
select SND_SOC_LPASS_PLATFORM.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>
---

m32r allmodconfig build for next-20160229 is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/112534168

 sound/soc/qcom/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig
index 3cc252e..1e7a783 100644
--- a/sound/soc/qcom/Kconfig
+++ b/sound/soc/qcom/Kconfig
@@ -11,15 +11,18 @@ config SND_SOC_LPASS_CPU
 
 config SND_SOC_LPASS_PLATFORM
 	tristate
+	depends on HAS_DMA
 	select REGMAP_MMIO
 
 config SND_SOC_LPASS_IPQ806X
 	tristate
+	depends on HAS_DMA
 	select SND_SOC_LPASS_CPU
 	select SND_SOC_LPASS_PLATFORM
 
 config SND_SOC_LPASS_APQ8016
 	tristate
+	depends on HAS_DMA
 	select SND_SOC_LPASS_CPU
 	select SND_SOC_LPASS_PLATFORM
 
-- 
1.9.1

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

* Re: [PATCH] ASoC: qcom: add dependency on HAS_DMA
  2016-02-29 14:25 ` Sudip Mukherjee
  (?)
@ 2016-02-29 16:31 ` Sudip Mukherjee
  -1 siblings, 0 replies; 3+ messages in thread
From: Sudip Mukherjee @ 2016-02-29 16:31 UTC (permalink / raw
  To: Patrick Lai, Banajit Goswami, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai
  Cc: linux-kernel, kernel-testers, alsa-devel

On Monday 29 February 2016 07:55 PM, Sudip Mukherjee wrote:
> m32r allmodconfig build is failing with the error:
> ERROR: "bad_dma_ops" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined!
> ERROR: "dma_common_mmap" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined!
>
> lpass-platform uses DMA so add HAS_DMA in the Kconfig. Also add the same
> for SND_SOC_LPASS_IPQ806X and SND_SOC_LPASS_APQ8016 as they will also
> select SND_SOC_LPASS_PLATFORM.
>
> Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
> ---
>
> m32r allmodconfig build for next-20160229 is at:
> https://travis-ci.org/sudipm-mukherjee/parport/jobs/112534168

Please discard this. It introduces new errors.
I will send v2 after more checking.

regards
sudip

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

end of thread, other threads:[~2016-02-29 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-29 14:25 [PATCH] ASoC: qcom: add dependency on HAS_DMA Sudip Mukherjee
2016-02-29 14:25 ` Sudip Mukherjee
2016-02-29 16:31 ` Sudip Mukherjee

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.