Unverified Commit ff9f0653 authored by YR Yang's avatar YR Yang Committed by Mark Brown
Browse files

ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile



Add AFE Control Register 0 to the volatile_register.
AFE_DAC_CON0 can be modified by both the SOF and ALSA drivers.
If this register is read and written in cache mode, the cached value
might not reflect the actual value when the register is modified by
another driver. It can cause playback or capture failures. Therefore,
it is necessary to add AFE_DAC_CON0 to the list of volatile registers.

Signed-off-by: default avatarYR Yang <yr.yang@mediatek.com>
Reviewed-by: default avatarFei Shao <fshao@chromium.org>
Reviewed-by: default avatarTrevor Wu <trevor.wu@mediatek.com>
Link: https://patch.msgid.link/20240801084326.1472-1-yr.yang@mediatek.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2251db28
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment