Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][DEPENDS-ON-DMA] ASoC: rsnd: SND_SOC_RCAR doesn't depend on DMA_OF
@ 2015-11-06  6:46 Kuninori Morimoto
  2015-11-06  9:48 ` Mark Brown
  2015-11-16 17:51 ` Applied "ASoC: rsnd: SND_SOC_RCAR doesn't depend on DMA_OF" to the asoc tree Mark Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Kuninori Morimoto @ 2015-11-06  6:46 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA, Simon, Liam Girdwood


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

8616774("ASoC: rnsd: fix build regression without CONFIG_OF")
added "depends on DMA_OF" in SND_SOC_RCAR to avoid compile error of

    sound/built-in.o: In function `rsnd_dma_request_channel':
    :(.text+0x9fb84): undefined reference to `of_dma_request_slave_channel'

But, it was OF base DMAEngine API definition issue, not SND_SOC_RCAR
issue. This patch remove DMA_OF dependence.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
>> Mark

This patch is based on DMA branch
git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/slave-dma.git :: topic/of


commit 9290a16cf19301224556bc7bcb913c0c2a45bb9a
Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date:   Fri Aug 21 11:48:37 2015 +0000

    dmaengine: OF DMAEngine API based on CONFIG_DMA_OF instead of CONFIG_OF
    
    5fa422c ("dmaengine: move drivers/of/dma.c -> drivers/dma/of-dma.c")
    moved OF base DMAEngine code to of-dma.c, then it based on CONFIG_DMA_OF.
    But, OF base DMAEngine API on of_dma.h still based on CONFIG_OF now.
    So, current kernel can't find OF base DMAEngine API if .config has CONFIG_OF,
    but not have CONFIG_DMA_OF. This patch tidyup it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>


 sound/soc/sh/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/sh/Kconfig b/sound/soc/sh/Kconfig
index 206d1ed..c9902a6 100644
--- a/sound/soc/sh/Kconfig
+++ b/sound/soc/sh/Kconfig
@@ -36,7 +36,6 @@ config SND_SOC_SH4_SIU
 
 config SND_SOC_RCAR
 	tristate "R-Car series SRU/SCU/SSIU/SSI support"
-	depends on DMA_OF
 	depends on COMMON_CLK
 	select SND_SIMPLE_CARD
 	select REGMAP_MMIO
-- 
1.9.1

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

end of thread, other threads:[~2015-11-16 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06  6:46 [PATCH][DEPENDS-ON-DMA] ASoC: rsnd: SND_SOC_RCAR doesn't depend on DMA_OF Kuninori Morimoto
2015-11-06  9:48 ` Mark Brown
2015-11-08 23:50   ` Kuninori Morimoto
2015-11-11  9:11     ` Vinod Koul
2015-11-11 23:39       ` Kuninori Morimoto
2015-11-16 17:51 ` Applied "ASoC: rsnd: SND_SOC_RCAR doesn't depend on DMA_OF" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox