ASoC: mediatek: mt8195: correct default value
authorTrevor Wu <trevor.wu@mediatek.com>
Thu, 16 Dec 2021 02:24:24 +0000 (10:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:04:15 +0000 (11:04 +0100)
commit073d9a2237b1e9a54ea1b928bfcdfd30afaa0ad8
tree6f3467300a9d50c5b47cb4b01406ac56ca309516
parentef0af09d411386754d049e468025b4b3216869aa
ASoC: mediatek: mt8195: correct default value

[ Upstream commit 30e693ee82d20361f2caacca3b68c79e1a7cb16c ]

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: 6746cc8582599 ("ASoC: mediatek: mt8195: add platform driver")
Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20211216022424.28470-1-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/mediatek/mt8195/mt8195-afe-pcm.c