]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mediatek: mt8195: update control for RT5682 series
authorTrevor Wu <trevor.wu@mediatek.com>
Tue, 28 Dec 2021 06:48:21 +0000 (14:48 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 29 Dec 2021 12:45:48 +0000 (12:45 +0000)
commit9ea6627e59e99f067ebf7986178085dd54332dfb
treeff9e16bc9266150c6aa0174f52079b427f753054
parent8887cc55d2f12bfcb7e2971ca511956e6d99914f
ASoC: mediatek: mt8195: update control for RT5682 series

Playback pop is observed and the root cause is the reference clock
provided by MT8195 is diabled before RT5682 finishes the control flow.

To ensure the reference clock supplied to RT5682 is disabled after RT5682
finishes all register controls. We replace BCLK with MCLK for RT5682
reference clock, and makes use of set_bias_level_post to handle MCLK
which guarantees MCLK is off after all RT5682 register access.

Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20211228064821.27865-1-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8195/mt8195-mt6359-rt1011-rt5682.c
sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c