mirror of https://github.com/torvalds/linux.git
ASoC: img: Imagination Technologies sound should depend on MIPS
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>
This commit is contained in:
parent
bb96a315b4
commit
68e4dadacb
|
|
@ -1,5 +1,6 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
menu "Imagination Technologies"
|
menu "Imagination Technologies"
|
||||||
|
depends on MIPS || COMPILE_TEST
|
||||||
|
|
||||||
config SND_SOC_IMG_I2S_IN
|
config SND_SOC_IMG_I2S_IN
|
||||||
tristate "Imagination I2S Input Device Driver"
|
tristate "Imagination I2S Input Device Driver"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue