Skip to content

Commit 30e693e

Browse files
wenliangwubroonie
authored andcommitted
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: 6746cc8 ("ASoC: mediatek: mt8195: add platform driver") Signed-off-by: Trevor Wu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent ee907af commit 30e693e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/mediatek/mt8195/mt8195-afe-pcm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3028,7 +3028,7 @@ static const struct reg_sequence mt8195_afe_reg_defaults[] = {
30283028

30293029
static const struct reg_sequence mt8195_cg_patch[] = {
30303030
{ AUDIO_TOP_CON0, 0xfffffffb },
3031-
{ AUDIO_TOP_CON1, 0xfffffffa },
3031+
{ AUDIO_TOP_CON1, 0xfffffff8 },
30323032
};
30333033

30343034
static int mt8195_afe_init_registers(struct mtk_base_afe *afe)

0 commit comments

Comments
 (0)