diff options
author | Chunxu Li <chunxu.li@mediatek.com> | 2023-01-10 17:26:23 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-23 13:30:59 +0000 |
commit | 42fc858cc7e3f9e7a5762b29f9daaf23a15e45ef (patch) | |
tree | 429d0d9b1b692b36c6574ba7d9ca713fc48fc706 | |
parent | aafe9375b386010e28614f58499d199250a16874 (diff) |
ASoC: mediatek: mt8186: add AFE_DAC_CON0 to volatile register list
Mark AFE_DAC_CON0 as volatile since DSP firmware will access this
register too.
Signed-off-by: Chunxu Li <chunxu.li@mediatek.com>
Link: https://lore.kernel.org/r/20230110092623.13035-1-chunxu.li@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/mediatek/mt8186/mt8186-afe-pcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/mediatek/mt8186/mt8186-afe-pcm.c b/sound/soc/mediatek/mt8186/mt8186-afe-pcm.c index d7e94e6a19c70..41172a82103ee 100644 --- a/sound/soc/mediatek/mt8186/mt8186-afe-pcm.c +++ b/sound/soc/mediatek/mt8186/mt8186-afe-pcm.c @@ -2395,6 +2395,7 @@ static bool mt8186_is_volatile_reg(struct device *dev, unsigned int reg) case AUDIO_TOP_CON1: /* reg bit controlled by CCF */ case AUDIO_TOP_CON2: case AUDIO_TOP_CON3: + case AFE_DAC_CON0: case AFE_DL1_CUR_MSB: case AFE_DL1_CUR: case AFE_DL1_END: |