From: Laurent Pinchart Date: Fri, 31 Jul 2020 15:24:32 +0000 (+0300) Subject: ASoC: sh: Replace 'select' DMADEVICES 'with depends on' X-Git-Tag: v5.9-rc1~22^2~22^2^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2dbf11ec7d3a63ebde946b5747ad6bd74d45adb1;p=linux-2.6-block.git ASoC: sh: Replace 'select' DMADEVICES 'with depends on' Enabling a whole subsystem from a single driver 'select' is frowned upon and won't be accepted in new drivers, that need to use 'depends on' instead. Existing selection of DMADEVICES will then cause circular dependencies. Replace them with a dependency. Signed-off-by: Laurent Pinchart Acked-by: Randy Dunlap Link: https://lore.kernel.org/r/20200731152433.1297-3-laurent.pinchart@ideasonboard.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sh/Kconfig b/sound/soc/sh/Kconfig index dc20f0f7080a..ef8a29b9f641 100644 --- a/sound/soc/sh/Kconfig +++ b/sound/soc/sh/Kconfig @@ -30,8 +30,8 @@ config SND_SOC_SH4_FSI config SND_SOC_SH4_SIU tristate depends on ARCH_SHMOBILE && HAVE_CLK + depends on DMADEVICES select DMA_ENGINE - select DMADEVICES select SH_DMAE select FW_LOADER