Skip to content

Commit

Permalink
ALSA: sh: SND_AICA should depend on SH_DMA_API
Browse files Browse the repository at this point in the history
[ Upstream commit 66e48ef ]

If CONFIG_SH_DMA_API=n:

    WARNING: unmet direct dependencies detected for G2_DMA
      Depends on [n]: SH_DREAMCAST [=y] && SH_DMA_API [=n]
      Selected by [y]:
      - SND_AICA [=y] && SOUND [=y] && SND [=y] && SND_SUPERH [=y] && SH_DREAMCAST [=y]

SND_AICA selects G2_DMA.  As the latter depends on SH_DMA_API, the
former should depend on SH_DMA_API, too.

Fixes: f477a53 ("sh: dma: fix kconfig dependency for G2_DMA")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505131320.PzgTtl9H-lkp@intel.com/
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/b90625f8a9078d0d304bafe862cbe3a3fab40082.1747121335.git.geert+renesas@glider.be
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Geert Uytterhoeven authored and Greg Kroah-Hartman committed May 22, 2025
1 parent 9609469 commit 6fbcfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if SND_SUPERH

config SND_AICA
tristate "Dreamcast Yamaha AICA sound"
depends on SH_DREAMCAST
depends on SH_DREAMCAST && SH_DMA_API
select SND_PCM
select G2_DMA
help
Expand Down

0 comments on commit 6fbcfa3

Please sign in to comment.