8616774968
The r-car sound driver only works when CONFIG_OF is set, and
after a recent change has a compile-time dependency as well:
sound/built-in.o: In function `rsnd_dma_request_channel':
:(.text+0x9fb84): undefined reference to `of_dma_request_slave_channel'
This could be fixed either by adding a static inline wrapper
for the function, or by adding a Kconfig dependency. This
implements the second approach, which seems appropriate
because the driver in fact has a hard dependency.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 72adc61f46
("ASoC: rsnd: 1st DMAC dma-names cares subnode")
Signed-off-by: Mark Brown <broonie@kernel.org>
72 lines
1.5 KiB
Plaintext
72 lines
1.5 KiB
Plaintext
menu "SoC Audio support for SuperH"
|
|
depends on SUPERH || ARCH_SHMOBILE
|
|
|
|
config SND_SOC_PCM_SH7760
|
|
tristate "SoC Audio support for Renesas SH7760"
|
|
depends on CPU_SUBTYPE_SH7760 && SH_DMABRG
|
|
help
|
|
Enable this option for SH7760 AC97/I2S audio support.
|
|
|
|
|
|
##
|
|
## Audio unit modules
|
|
##
|
|
|
|
config SND_SOC_SH4_HAC
|
|
tristate
|
|
select AC97_BUS
|
|
select SND_SOC_AC97_BUS
|
|
|
|
config SND_SOC_SH4_SSI
|
|
tristate
|
|
|
|
config SND_SOC_SH4_FSI
|
|
tristate "SH4 FSI support"
|
|
select SND_SIMPLE_CARD
|
|
help
|
|
This option enables FSI sound support
|
|
|
|
config SND_SOC_SH4_SIU
|
|
tristate
|
|
depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK
|
|
select DMA_ENGINE
|
|
select DMADEVICES
|
|
select SH_DMAE
|
|
select FW_LOADER
|
|
|
|
config SND_SOC_RCAR
|
|
tristate "R-Car series SRU/SCU/SSIU/SSI support"
|
|
depends on DMA_OF
|
|
select SND_SIMPLE_CARD
|
|
select REGMAP_MMIO
|
|
help
|
|
This option enables R-Car SUR/SCU/SSIU/SSI sound support
|
|
|
|
config SND_SOC_RSRC_CARD
|
|
tristate "Renesas Sampling Rate Convert Sound Card"
|
|
help
|
|
This option enables simple sound if you need sampling rate convert
|
|
|
|
##
|
|
## 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.
|
|
|
|
config SND_SIU_MIGOR
|
|
tristate "SIU sound support on Migo-R"
|
|
depends on SH_MIGOR && I2C
|
|
select SND_SOC_SH4_SIU
|
|
select SND_SOC_WM8978
|
|
help
|
|
This option enables sound support for the SH7722 Migo-R board
|
|
|
|
endmenu
|