diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-08-31 15:18:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-01 17:46:49 +0200 |
commit | 940ffa19454704ca2ecd23b0d8dd604c93421bfa (patch) | |
tree | 51b0598d6a9485a9889634f688bd464c821b8758 /sound | |
parent | ASoC: samsung: s3c24xx_simtec: fix spelling mistake "devicec" -> "device" (diff) | |
download | linux-940ffa19454704ca2ecd23b0d8dd604c93421bfa.tar.xz linux-940ffa19454704ca2ecd23b0d8dd604c93421bfa.zip |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/mediatek/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig index f6bf0f9c91e3..5a2f4667d50b 100644 --- a/sound/soc/mediatek/Kconfig +++ b/sound/soc/mediatek/Kconfig @@ -187,6 +187,7 @@ config SND_SOC_MT8192_MT6359_RT1015_RT5682 config SND_SOC_MT8195 tristate "ASoC support for Mediatek MT8195 chip" + depends on ARCH_MEDIATEK || COMPILE_TEST select SND_SOC_MEDIATEK help This adds ASoC platform driver support for Mediatek MT8195 chip |