]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: mediatek: mt8188-mt6359: select CONFIG_SND_SOC_MT6359_ACCDET
authorArnd Bergmann <arnd@arndb.de>
Mon, 5 May 2025 05:20:52 +0000 (07:20 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 5 May 2025 10:30:27 +0000 (19:30 +0900)
commitb19fa45715ce9cfcc597ed140df31115e969b39d
treea4e15ffcfc93e710c9f8e6e4eec6f2224db4ec32
parent92a09c47464d040866cf2b4cd052bc60555185fb
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: f35d834d67ad ("ASoC: mediatek: mt8188-mt6359: Add accdet headset jack detect support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20250505052106.1811802-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/Kconfig