]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ASoC: renesas: SND_SIU_MIGOR should depend on DMADEVICES
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 24 Jan 2025 08:52:45 +0000 (09:52 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jan 2025 13:25:41 +0000 (13:25 +0000)
If CONFIG_DMADEVICES=n:

    WARNING: unmet direct dependencies detected for SND_SOC_SH4_SIU
      Depends on [n]: SOUND [=y] && SND [=y] && SND_SOC [=y] && (SUPERH [=y] || ARCH_RENESAS || COMPILE_TEST [=n]) && ARCH_SHMOBILE [=y] && HAVE_CLK [=y] && DMADEVICES [=n]
      Selected by [y]:
      - SND_SIU_MIGOR [=y] && SOUND [=y] && SND [=y] && SND_SOC [=y] && (SUPERH [=y] || ARCH_RENESAS || COMPILE_TEST [=n]) && SH_MIGOR [=y] && I2C [=y]

SND_SIU_MIGOR selects SND_SOC_SH4_SIU.  As the latter depends on
DMADEVICES, the former should depend on DMADEVICES, too.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501241032.oOmsmzvk-lkp@intel.com/
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/8c17ff52584ce824b8b42d08ea1b942ebeb7f4d9.1737708688.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/renesas/Kconfig

index 426632996a0a3172be334e1ed7eacea502e17ca1..cb01fb36355f02c3a7c90d2b870e96b780ee29d5 100644 (file)
@@ -67,7 +67,7 @@ config SND_SH7760_AC97
 
 config SND_SIU_MIGOR
        tristate "SIU sound support on Migo-R"
-       depends on SH_MIGOR && I2C
+       depends on SH_MIGOR && I2C && DMADEVICES
        select SND_SOC_SH4_SIU
        select SND_SOC_WM8978
        help