aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorTrevor Wu <trevor.wu@mediatek.com>2022-09-27 23:11:41 +0800
committerMark Brown <broonie@kernel.org>2022-09-28 12:30:48 +0100
commit7ba6546b547c75b0196029c7e0aaaab2eb6694a4 (patch)
tree7c89164e80198d54d456c21841eef63434f80d14 /ipc
parentFix PM disable depth imbalance in stm32 probe (diff)
downloadlinux-dev-7ba6546b547c75b0196029c7e0aaaab2eb6694a4.tar.xz
linux-dev-7ba6546b547c75b0196029c7e0aaaab2eb6694a4.zip
ASoC: mediatek: mt8195: update audio tuner settings
Audio tuner is used to handle clock drift between 26M and APLL domain. It's expected when abs(chg_cnt) equals to upper bound, tuner updates pcw setting automatically, and then abs(chg_cnt) decreases. In the stress test, we found abs(chg_cnt) possibly equals to 2 at the unexpected timing. This results in wrong pcw updating. Finally, abs(chg_cnt) will always be larger than upper bound, As a result, we update the upper bound to 3 to handle the corner case. Signed-off-by: Trevor Wu <trevor.wu@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220927151141.11846-1-trevor.wu@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions