Patch "ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     asoc-mediatek-mt8188-mark-afe_dac_con0-register-as-v.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 63ff036f88f74c82bc2e6a751cf4a05160afba59
Author: YR Yang <yr.yang@xxxxxxxxxxxx>
Date:   Thu Aug 1 16:43:26 2024 +0800

    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@xxxxxxxxxxxx>
    Reviewed-by: Fei Shao <fshao@xxxxxxxxxxxx>
    Reviewed-by: Trevor Wu <trevor.wu@xxxxxxxxxxxx>
    Link: https://patch.msgid.link/20240801084326.1472-1-yr.yang@xxxxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/mediatek/mt8188/mt8188-afe-pcm.c b/sound/soc/mediatek/mt8188/mt8188-afe-pcm.c
index 5e14655c5617e..11f30b183520f 100644
--- a/sound/soc/mediatek/mt8188/mt8188-afe-pcm.c
+++ b/sound/soc/mediatek/mt8188/mt8188-afe-pcm.c
@@ -2748,6 +2748,7 @@ static bool mt8188_is_volatile_reg(struct device *dev, unsigned int reg)
 	case AFE_ASRC12_NEW_CON9:
 	case AFE_LRCK_CNT:
 	case AFE_DAC_MON0:
+	case AFE_DAC_CON0:
 	case AFE_DL2_CUR:
 	case AFE_DL3_CUR:
 	case AFE_DL6_CUR:




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux