mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Before, all Imagination sound symbols were gated by the SND_SOC_IMG
symbol, offering the user a simple option to hide them all. After the
removal of this gate symbol, all symbols are exposed to the user, even
when configuring a kernel for a non-Imagination platform.
Fix this by adding a dependency on MIPS, to prevent asking the user
about these drivers when configuring a kernel for a different
architecture.
Fixes: b13f7eef9f
("ASoC: img: Standardize ASoC menu")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/242832f225ae68018111648ea9934dc059741567.1751989463.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menu "Imagination Technologies"
|
|
depends on MIPS || COMPILE_TEST
|
|
|
|
config SND_SOC_IMG_I2S_IN
|
|
tristate "Imagination I2S Input Device Driver"
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
help
|
|
Say Y or M if you want to add support for I2S in driver for
|
|
Imagination Technologies I2S in device.
|
|
|
|
config SND_SOC_IMG_I2S_OUT
|
|
tristate "Imagination I2S Output Device Driver"
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
help
|
|
Say Y or M if you want to add support for I2S out driver for
|
|
Imagination Technologies I2S out device.
|
|
|
|
config SND_SOC_IMG_PARALLEL_OUT
|
|
tristate "Imagination Parallel Output Device Driver"
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
help
|
|
Say Y or M if you want to add support for parallel out driver for
|
|
Imagination Technologies parallel out device.
|
|
|
|
config SND_SOC_IMG_SPDIF_IN
|
|
tristate "Imagination SPDIF Input Device Driver"
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
help
|
|
Say Y or M if you want to add support for SPDIF input driver for
|
|
Imagination Technologies SPDIF input device.
|
|
|
|
config SND_SOC_IMG_SPDIF_OUT
|
|
tristate "Imagination SPDIF Output Device Driver"
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
help
|
|
Say Y or M if you want to add support for SPDIF out driver for
|
|
Imagination Technologies SPDIF out device.
|
|
|
|
|
|
config SND_SOC_IMG_PISTACHIO_INTERNAL_DAC
|
|
tristate "Support for Pistachio SoC Internal DAC Driver"
|
|
help
|
|
Say Y or M if you want to add support for Pistachio internal DAC
|
|
driver for Imagination Technologies Pistachio internal DAC device.
|
|
|
|
endmenu
|