OpenCloudOS-Kernel/sound/soc/mediatek
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
..
common ASoC: mediatek: Assign dummy when codec not specified for a DAI link 2024-06-12 11:11:58 +02:00
mt2701 ASoC: mediatek: mt2701-afe-pcm: Convert to platform remove callback returning void 2023-03-20 13:08:36 +00:00
mt6797 ASoC: mediatek: mt6797-afe-pcm: Convert to platform remove callback returning void 2023-03-20 13:08:37 +00:00
mt7986 ASoC: mediatek: mt7986: add machine driver with wm8960 2023-08-17 13:09:18 +01:00
mt8173 ASoC: mediatek: mt8173-rt5650: Map missing jack kcontrols 2023-08-07 14:32:54 +01:00
mt8183 ASoC: mediatek: mt8183-da7219-max98357: Fix kcontrol name collision 2024-07-05 09:33:44 +02:00
mt8186 ASoC: mediatek: mt8186: fix AUD_PAD_TOP register and offset 2024-01-10 17:16:49 +01:00
mt8188 ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile 2024-09-30 16:25:07 +02:00
mt8192 ASoC: mediatek: mt8192: fix register configuration for tdm 2024-06-12 11:12:45 +02:00
mt8195 ASoC: mediatek: merge DAI call back functions into ops 2023-08-14 13:10:25 +01:00
Kconfig ASoC: mediatek: mt7986: add machine driver with wm8960 2023-08-17 13:09:18 +01:00
Makefile ASoC: mediatek: mt7986: add platform driver 2023-08-17 13:09:17 +01:00