Skip to content

Commit cd5e4ef

Browse files
wenliangwubroonie
authored andcommitted
ASoC: mediatek: mt8195: add MTK_PMIC_WRAP dependency
randconfig builds show the warning below, WARNING: unmet direct dependencies detected for SND_SOC_MT6359 Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && MTK_PMIC_WRAP [=n] Selected by [y]: - SND_SOC_MT8195_MT6359_RT1019_RT5682 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] && SND_SOC_MT8195 [=y] Add a dependency to avoid it. Signed-off-by: Trevor Wu <[email protected]> Reported-by: Randy Dunlap <[email protected]> Acked-by: Randy Dunlap <[email protected]> # build-tested Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 3202e2f commit cd5e4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/mediatek/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ config SND_SOC_MT8195
197197
config SND_SOC_MT8195_MT6359_RT1019_RT5682
198198
tristate "ASoC Audio driver for MT8195 with MT6359 RT1019 RT5682 codec"
199199
depends on I2C
200-
depends on SND_SOC_MT8195
200+
depends on SND_SOC_MT8195 && MTK_PMIC_WRAP
201201
select SND_SOC_MT6359
202202
select SND_SOC_RT1015P
203203
select SND_SOC_RT5682_I2C

0 commit comments

Comments
 (0)