OpenCloudOS-Kernel/sound/soc/mediatek/mt8188
YR Yang 0627ba9434 ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile
[ Upstream commit ff9f065318e17a1a97981d9e535fcfc6ce5d5614 ]

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: YR Yang <yr.yang@mediatek.com>
Reviewed-by: Fei Shao <fshao@chromium.org>
Reviewed-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://patch.msgid.link/20240801084326.1472-1-yr.yang@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-30 16:25:07 +02:00
..
Makefile ASoC: mediatek: mt8188: add machine driver with mt6359 2023-01-16 11:16:30 +00:00
mt8188-afe-clk.c ASoC: Merge fixes due to dependencies 2023-06-16 14:55:20 +01:00
mt8188-afe-clk.h ASoC: Merge fixes due to dependencies 2023-06-16 14:55:20 +01:00
mt8188-afe-common.h ASoC: mediatek: mt8188: separate ADDA playback dai from capture dai 2023-06-02 13:29:05 +01:00
mt8188-afe-pcm.c ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile 2024-09-30 16:25:07 +02:00
mt8188-audsys-clk.c ASoC: mediatek: mt8188: fix use-after-free in driver remove path 2023-06-01 12:30:35 +01:00
mt8188-audsys-clk.h ASoC: mediatek: mt8188: fix use-after-free in driver remove path 2023-06-01 12:30:35 +01:00
mt8188-audsys-clkid.h
mt8188-dai-adda.c ASoC: mediatek: mt8188: separate ADDA playback dai from capture dai 2023-06-02 13:29:05 +01:00
mt8188-dai-etdm.c ASoC: mediatek: mt8188: refine APLL control 2023-05-15 20:05:08 +09:00
mt8188-dai-pcm.c ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt8188-mt6359.c ASoC: mediatek: mt8188-mt6359: support dynamic pinctrl 2023-11-28 17:19:42 +00:00
mt8188-reg.h ASoC: mediatek: mt8188: revise ETDM control flow 2023-05-15 20:05:08 +09:00