ASoC: mediatek: SND_SOC_MT8195 should depend on ARCH_MEDIATEK
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 31 Aug 2021 13:18:54 +0000 (15:18 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 1 Sep 2021 15:46:49 +0000 (16:46 +0100)
commit940ffa19454704ca2ecd23b0d8dd604c93421bfa
tree51b0598d6a9485a9889634f688bd464c821b8758
parent2a6a0a03117ee349308ab77ac0925fdca8ef32f5
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: 6746cc858259985a ("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>
sound/soc/mediatek/Kconfig