diff options
| author | Geert Uytterhoeven <[email protected]> | 2021-08-31 15:18:54 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-09-01 16:46:49 +0100 |
| commit | 940ffa19454704ca2ecd23b0d8dd604c93421bfa (patch) | |
| tree | 51b0598d6a9485a9889634f688bd464c821b8758 /sound | |
| parent | 2a6a0a03117ee349308ab77ac0925fdca8ef32f5 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/7e628e359bde04ceb9ddd74a45931059b4a4623c.1630415860.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <[email protected]>
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 |
