[PATCH v2] ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile
Trevor Wu (吳文良)
Trevor.Wu at mediatek.com
Tue Aug 6 21:21:09 PDT 2024
On Thu, 2024-08-01 at 16:43 +0800, yr.yang wrote:
> From: YR Yang <yr.yang at mediatek.com>
>
> 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 at mediatek.com>
> ---
>
Reviewed-by: Trevor Wu <trevor.wu at mediatek.com>
Thanks,
Trevor
More information about the Linux-mediatek
mailing list