Skip to content

Commit ec16a3c

Browse files
nfrapradobroonie
authored andcommitted
ASoC: mediatek: mt8188-mt6359: Remove hardcoded dmic codec
Remove hardcoded dmic codec from the UL_SRC dai link to avoid requiring a dmic codec to be present for the driver to probe, as not every MT8188-based platform might need a dmic codec. The codec can be assigned to the dai link through the dai-link property in Devicetree on the platforms where it is needed. No Devicetree currently relies on it so it is safe to remove without worrying about backward compatibility. Fixes: 9f08dcb ("ASoC: mediatek: mt8188-mt6359: support new board with nau88255") Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://patch.msgid.link/20241203-mt8188-6359-unhardcode-dmic-v1-1-346e3e5cbe6d@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6d544ea commit ec16a3c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sound/soc/mediatek/mt8188/mt8188-mt6359.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ SND_SOC_DAILINK_DEFS(pcm1,
188188
SND_SOC_DAILINK_DEFS(ul_src,
189189
DAILINK_COMP_ARRAY(COMP_CPU("UL_SRC")),
190190
DAILINK_COMP_ARRAY(COMP_CODEC("mt6359-sound",
191-
"mt6359-snd-codec-aif1"),
192-
COMP_CODEC("dmic-codec",
193-
"dmic-hifi")),
191+
"mt6359-snd-codec-aif1")),
194192
DAILINK_COMP_ARRAY(COMP_EMPTY()));
195193

196194
SND_SOC_DAILINK_DEFS(AFE_SOF_DL2,

0 commit comments

Comments
 (0)