Skip to content

Commit aa650d0

Browse files
dbalutagregkh
authored andcommitted
ASoC: SOF: imx8m: Fix DSP control regmap retrieval
[ Upstream commit 2634f74 ] 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: 9ba2371 ("ASoC: SOF: imx8m: Implement DSP start") Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://patch.msgid.link/20240715151653.114751-1-daniel.baluta@oss.nxp.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 5c19062 commit aa650d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/sof/imx/imx8m.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static int imx8m_probe(struct snd_sof_dev *sdev)
234234
/* set default mailbox offset for FW ready message */
235235
sdev->dsp_box.offset = MBOX_OFFSET;
236236

237-
priv->regmap = syscon_regmap_lookup_by_compatible("fsl,dsp-ctrl");
237+
priv->regmap = syscon_regmap_lookup_by_phandle(np, "fsl,dsp-ctrl");
238238
if (IS_ERR(priv->regmap)) {
239239
dev_err(sdev->dev, "cannot find dsp-ctrl registers");
240240
ret = PTR_ERR(priv->regmap);

0 commit comments

Comments
 (0)