kernel_optimize_test/sound/soc/sh/Kconfig
Manuel Lauss bc55197d5a [ALSA] soc/sh: let SND_SOC_PCM_SH7760 depend on SH_DMABRG
Let SND_SOC_PCM_SH7760 depend on SH_DMABRG rather than select'ing it.
Gets rid of the Kbuild warning about SH_DMABRG being undefined on non-sh
builds.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-07-20 11:11:25 +02:00

39 lines
680 B
Plaintext

menu "SoC Audio support for SuperH"
config SND_SOC_PCM_SH7760
tristate "SoC Audio support for Renesas SH7760"
depends on CPU_SUBTYPE_SH7760 && SND_SOC && SH_DMABRG
help
Enable this option for SH7760 AC97/I2S audio support.
##
## Audio unit modules
##
config SND_SOC_SH4_HAC
select AC97_BUS
select SND_SOC_AC97_BUS
select SND_AC97_CODEC
tristate
config SND_SOC_SH4_SSI
tristate
##
## Boards
##
config SND_SH7760_AC97
tristate "SH7760 AC97 sound support"
depends on CPU_SUBTYPE_SH7760 && SND_SOC_PCM_SH7760
select SND_SOC_SH4_HAC
select SND_SOC_AC97_CODEC
help
This option enables generic sound support for the first
AC97 unit of the SH7760.
endmenu