Skip to content

Commit 940ffa1

Browse files
geertubroonie
authored andcommitted
ASoC: mediatek: SND_SOC_MT8195 should depend on ARCH_MEDIATEK
The Mediatek MT8195 sound hardware is only present on Mediatek MT8195 SoCs. Hence add a dependency on ARCH_MEDIATEK, to prevent asking the user about this driver when configuring a kernel without Mediatek SoC support. Fixes: 6746cc8 ("ASoC: mediatek: mt8195: add platform driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/7e628e359bde04ceb9ddd74a45931059b4a4623c.1630415860.git.geert+renesas@glider.be Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 2a6a0a0 commit 940ffa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/mediatek/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ config SND_SOC_MT8192_MT6359_RT1015_RT5682
187187

188188
config SND_SOC_MT8195
189189
tristate "ASoC support for Mediatek MT8195 chip"
190+
depends on ARCH_MEDIATEK || COMPILE_TEST
190191
select SND_SOC_MEDIATEK
191192
help
192193
This adds ASoC platform driver support for Mediatek MT8195 chip

0 commit comments

Comments
 (0)