Patch "ASoC: Intel: avs: Do not readq() u32 registers" has been added to the 6.12-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: Intel: avs: Do not readq() u32 registers

to the 6.12-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-intel-avs-do-not-readq-u32-registers.patch
and it can be found in the queue-6.12 subdirectory.

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



commit 83c13bb0ba3520921af63703a0ae86faf5b54b5e
Author: Cezary Rojewski <cezary.rojewski@xxxxxxxxx>
Date:   Thu Jan 9 13:22:04 2025 +0100

    ASoC: Intel: avs: Do not readq() u32 registers
    
    [ Upstream commit bca0fa5f6b5e96c03daac1ed62b1e5c5057a2048 ]
    
    Register reporting ROM status is 4-bytes wide.
    
    Fixes: 092cf7b26a48 ("ASoC: Intel: avs: Code loading over HDA")
    Signed-off-by: Cezary Rojewski <cezary.rojewski@xxxxxxxxx>
    Link: https://patch.msgid.link/20250109122216.3667847-2-cezary.rojewski@xxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/intel/avs/loader.c b/sound/soc/intel/avs/loader.c
index 890efd2f1feab..37de077a99838 100644
--- a/sound/soc/intel/avs/loader.c
+++ b/sound/soc/intel/avs/loader.c
@@ -308,7 +308,7 @@ avs_hda_init_rom(struct avs_dev *adev, unsigned int dma_id, bool purge)
 	}
 
 	/* await ROM init */
-	ret = snd_hdac_adsp_readq_poll(adev, spec->sram->rom_status_offset, reg,
+	ret = snd_hdac_adsp_readl_poll(adev, spec->sram->rom_status_offset, reg,
 				       (reg & 0xF) == AVS_ROM_INIT_DONE ||
 				       (reg & 0xF) == APL_ROM_FW_ENTERED,
 				       AVS_ROM_INIT_POLLING_US, APL_ROM_INIT_TIMEOUT_US);




[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