Lines Matching +full:mt6358 +full:- +full:sound
1 // SPDX-License-Identifier: GPL-2.0
3 // mt8186-mt6366-common.c
4 // -- MT8186 MT6366 ALSA common driver
9 #include <sound/soc.h>
11 #include "../../codecs/mt6358.h"
12 #include "../common/mtk-afe-platform-driver.h"
13 #include "mt8186-afe-common.h"
14 #include "mt8186-mt6366-common.h"
21 snd_soc_rtd_to_codec(rtd, 0)->component; in mt8186_mt6366_init()
23 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_mt6366_init()
24 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in mt8186_mt6366_init()
30 afe_priv->mtkaif_protocol = MT6358_MTKAIF_PROTOCOL_1; in mt8186_mt6366_init()
34 dev_err(rtd->dev, "failed to snd_soc_dapm_sync\n"); in mt8186_mt6366_init()
49 if (node && strcmp(link->name, link_name) == 0) { in mt8186_mt6366_card_set_be_link()
50 ret = snd_soc_of_get_dai_link_codecs(card->dev, node, link); in mt8186_mt6366_card_set_be_link()
52 return dev_err_probe(card->dev, ret, "get dai link codecs fail\n"); in mt8186_mt6366_card_set_be_link()