mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-27 06:50:37 +00:00

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: f477a538c1
("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>
33 lines
721 B
Plaintext
33 lines
721 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
# ALSA SH drivers
|
|
|
|
menuconfig SND_SUPERH
|
|
bool "SUPERH sound devices"
|
|
depends on SUPERH
|
|
default y
|
|
help
|
|
Support for sound devices specific to SUPERH architectures.
|
|
Drivers that are implemented on ASoC can be found in
|
|
"ALSA for SoC audio support" section.
|
|
|
|
if SND_SUPERH
|
|
|
|
config SND_AICA
|
|
tristate "Dreamcast Yamaha AICA sound"
|
|
depends on SH_DREAMCAST && SH_DMA_API
|
|
select SND_PCM
|
|
select G2_DMA
|
|
help
|
|
ALSA Sound driver for the SEGA Dreamcast console.
|
|
|
|
config SND_SH_DAC_AUDIO
|
|
tristate "SuperH DAC audio support"
|
|
depends on SND
|
|
depends on CPU_SH3 && HIGH_RES_TIMERS
|
|
select SND_PCM
|
|
help
|
|
Say Y here to include support for the on-chip DAC.
|
|
|
|
endif # SND_SUPERH
|
|
|