All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: rockchip: Select DMA_PL330 by RK3399 audio
@ 2019-04-14 21:02 ` Alyssa Rosenzweig
  0 siblings, 0 replies; 7+ messages in thread
From: Alyssa Rosenzweig @ 2019-04-14 21:02 UTC (permalink / raw)
  To: linux-rockchip
  Cc: alsa-devel, Heiko Stuebner, Takashi Iwai, Liam Girdwood,
	Jaroslav Kysela, Mark Brown, linux-arm-kernel, Alyssa Rosenzweig

Without the appropriate DMA controller selected, the RK3399 audio
drivers compile but fail immediately. Accordingly, selecting the RK3399
audio without the corresponding PL330 controller is an invalid
configuration. Prevent errors (otherwise forcing the driver to unload at
runtime)  by an appropriate `select` directive in the Kconfig.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
---
 sound/soc/rockchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/rockchip/Kconfig b/sound/soc/rockchip/Kconfig
index 957046ac6c8c..fa3cab461a60 100644
--- a/sound/soc/rockchip/Kconfig
+++ b/sound/soc/rockchip/Kconfig
@@ -73,6 +73,7 @@ config SND_SOC_RK3399_GRU_SOUND
 	select SND_SOC_RT5514_SPI
 	select SND_SOC_HDMI_CODEC
 	select SND_SOC_DMIC
+	select PL330_DMA
 	help
 	  Say Y or M here if you want to add support multiple codecs for SoC
 	  audio on Rockchip RK3399 GRU boards.
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] ASoC: rockchip: Select DMA_PL330 by RK3399 audio
@ 2019-03-24  6:24 Alyssa Rosenzweig
  0 siblings, 0 replies; 7+ messages in thread
From: Alyssa Rosenzweig @ 2019-03-24  6:24 UTC (permalink / raw)
  To: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: Heiko Stuebner, Alyssa Rosenzweig

Without the appropriate DMA controller selected, the RK3399 audio
drivers compile but fail immediately. Accordingly, selecting the RK3399
audio without the corresponding PL330 controller is an invalid
configuration. Prevent this by an appropriate `select` directive in the
Kconfig.

Signed-off-by: Alyssa Rosenzweig <alyssa-kyPdXwtBHbIqQpLF9uBUvQ@public.gmane.org>
Cc: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
---
 sound/soc/rockchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/rockchip/Kconfig b/sound/soc/rockchip/Kconfig
index 957046ac6c8c..fa3cab461a60 100644
--- a/sound/soc/rockchip/Kconfig
+++ b/sound/soc/rockchip/Kconfig
@@ -73,6 +73,7 @@ config SND_SOC_RK3399_GRU_SOUND
 	select SND_SOC_RT5514_SPI
 	select SND_SOC_HDMI_CODEC
 	select SND_SOC_DMIC
+	select PL330_DMA
 	help
 	  Say Y or M here if you want to add support multiple codecs for SoC
 	  audio on Rockchip RK3399 GRU boards.
-- 
2.20.1

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

end of thread, other threads:[~2019-04-16 16:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-14 21:02 [PATCH] ASoC: rockchip: Select DMA_PL330 by RK3399 audio Alyssa Rosenzweig
2019-04-14 21:02 ` Alyssa Rosenzweig
2019-04-16 16:27 ` Mark Brown
     [not found]   ` <20190416162735.GI4834-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2019-04-16 16:34     ` Alyssa Rosenzweig
2019-04-16 16:34       ` Alyssa Rosenzweig
2019-04-16 16:37       ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2019-03-24  6:24 Alyssa Rosenzweig

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.