未验证 提交 30e693ee 编写于 作者: T Trevor Wu 提交者: Mark Brown

ASoC: mediatek: mt8195: correct default value

mt8195_cg_patch is used to reset the default value of audio cg, so the
register value could be consistent with CCF reference count.
Nevertheless, AUDIO_TOP_CON1[1:0] is used to control an internal mux,
and it's expected to keep the default value 0.

This patch corrects the default value in case an unexpected behavior
happens in the future.

Fixes: 6746cc85 ("ASoC: mediatek: mt8195: add platform driver")
Signed-off-by: NTrevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20211216022424.28470-1-trevor.wu@mediatek.comSigned-off-by: NMark Brown <broonie@kernel.org>
上级 ee907afb
...@@ -3028,7 +3028,7 @@ static const struct reg_sequence mt8195_afe_reg_defaults[] = { ...@@ -3028,7 +3028,7 @@ static const struct reg_sequence mt8195_afe_reg_defaults[] = {
static const struct reg_sequence mt8195_cg_patch[] = { static const struct reg_sequence mt8195_cg_patch[] = {
{ AUDIO_TOP_CON0, 0xfffffffb }, { AUDIO_TOP_CON0, 0xfffffffb },
{ AUDIO_TOP_CON1, 0xfffffffa }, { AUDIO_TOP_CON1, 0xfffffff8 },
}; };
static int mt8195_afe_init_registers(struct mtk_base_afe *afe) static int mt8195_afe_init_registers(struct mtk_base_afe *afe)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册