From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F665166316; Tue, 30 Jul 2024 17:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722358803; cv=none; b=e7K/Hon1BFxUqx9boUaoKwPImp/Oi78EFT/Nlm9dUSbzmfSShwBWNky8AyoKPx+IJMYqQLaQnONEg+hS2wwSQ83UuP/pPtTlTxh2pw/22nXqXp8kl5bLfq+D/dyAS2rKagiA7+d7l5P48HVe9Ra0Ownsat3J+1KakDnDhSr72XE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722358803; c=relaxed/simple; bh=/HIW6jBV73qAFgbTMJosHWFs4l0HIRh1QneHChcicmA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=C5FLUAtlyZ2MGmNNxzyauZ117xmxjZ85VgcJIl0su53t8FWWkM0eI5PZ2lahTBztWt/60LHXoyMVc58oe7NWmFNW+ED43mu6lMhh2S8KbgMlMVzOQzC2EMglQd6tTNtJ96sUw42OVhYiV0f8xOg0kZIezXlLuxbGZl0ePMsPgm4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FotIc2Yd; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="FotIc2Yd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9AB83C32782; Tue, 30 Jul 2024 17:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722358803; bh=/HIW6jBV73qAFgbTMJosHWFs4l0HIRh1QneHChcicmA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FotIc2Ydi3SSf3n70CprnGlABT505wUOnv2NZXydNuulwqlAmDgdAYYes+3O/zOya tL7JEq9WZIrGgbyqYMMOFo5X9eR1W0hOU03/FVyWy4zqFkeZ5N7BMTE5hM0a3V621r OGWGX9OI4rpWb4fjEfRKR6Xnpp4+pvViPWgfEXu4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Daniel Baluta , Mark Brown , Sasha Levin Subject: [PATCH 6.1 423/440] ASoC: SOF: imx8m: Fix DSP control regmap retrieval Date: Tue, 30 Jul 2024 17:50:56 +0200 Message-ID: <20240730151632.305391470@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240730151615.753688326@linuxfoundation.org> References: <20240730151615.753688326@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Daniel Baluta [ 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 Link: https://patch.msgid.link/20240715151653.114751-1-daniel.baluta@oss.nxp.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sof/imx/imx8m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c index 1243f8a6141ea..186ba4bbb5b26 100644 --- a/sound/soc/sof/imx/imx8m.c +++ b/sound/soc/sof/imx/imx8m.c @@ -243,7 +243,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); -- 2.43.0