Skip to content

Commit b19fa45

Browse files
arndbbroonie
authored andcommitted
ASoC: mediatek: mt8188-mt6359: select CONFIG_SND_SOC_MT6359_ACCDET
The driver support was added without selecting the codec, which leads to a link failure: aarch64-linux-ld: sound/soc/mediatek/mt8188/mt8188-mt6359.o: in function `mt8188_mt6359_init': mt8188-mt6359.c:(.text+0x19f0): undefined reference to `mt6359_accdet_enable_jack_detect' Fixes: f35d834 ("ASoC: mediatek: mt8188-mt6359: Add accdet headset jack detect support") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 92a09c4 commit b19fa45

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
@@ -229,6 +229,7 @@ config SND_SOC_MT8188_MT6359
229229
tristate "ASoC Audio driver for MT8188 with MT6359 and I2S codecs"
230230
depends on SND_SOC_MT8188 && MTK_PMIC_WRAP
231231
depends on I2C
232+
select SND_SOC_MT6359_ACCDET
232233
select SND_SOC_MT6359
233234
select SND_SOC_HDMI_CODEC
234235
select SND_SOC_DMIC

0 commit comments

Comments
 (0)