Patch "ASoC: SOF: imx8m: Fix DSP control regmap retrieval" has been added to the 6.10-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: SOF: imx8m: Fix DSP control regmap retrieval

to the 6.10-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-sof-imx8m-fix-dsp-control-regmap-retrieval.patch
and it can be found in the queue-6.10 subdirectory.

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



commit 01609bd9582de4ea8a1ddfb19b0a3c24065a2157
Author: Daniel Baluta <daniel.baluta@xxxxxxx>
Date:   Mon Jul 15 18:16:53 2024 +0300

    ASoC: SOF: imx8m: Fix DSP control regmap retrieval
    
    [ Upstream commit 2634f745eac25a33f032df32cf98fca8538a534a ]
    
    According to Documentation/devicetree/bindings/dsp/fsl,dsp.yaml
    fsl,dsp-ctrl is a phandle to syscon block so we need to use correct
    function to retrieve it.
    
    Currently there is no SOF DSP DTS merged into mainline so there is no
    need to support the old way of retrieving the dsp control node.
    
    Fixes: 9ba23717b292 ("ASoC: SOF: imx8m: Implement DSP start")
    Signed-off-by: Daniel Baluta <daniel.baluta@xxxxxxx>
    Link: https://patch.msgid.link/20240715151653.114751-1-daniel.baluta@xxxxxxxxxxx
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c
index 1c7019c3cbd38..cdd1e79ef9f6a 100644
--- a/sound/soc/sof/imx/imx8m.c
+++ b/sound/soc/sof/imx/imx8m.c
@@ -234,7 +234,7 @@ static int imx8m_probe(struct snd_sof_dev *sdev)
 	/* set default mailbox offset for FW ready message */
 	sdev->dsp_box.offset = MBOX_OFFSET;
 
-	priv->regmap = syscon_regmap_lookup_by_compatible("fsl,dsp-ctrl");
+	priv->regmap = syscon_regmap_lookup_by_phandle(np, "fsl,dsp-ctrl");
 	if (IS_ERR(priv->regmap)) {
 		dev_err(sdev->dev, "cannot find dsp-ctrl registers");
 		ret = PTR_ERR(priv->regmap);




[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