From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 7D35833B6F9; Thu, 17 Sep 2026 15:33:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789659228; cv=none; b=buLyYkI7/TSweS9bK4d7l/pbZZSGUHgJ8vcF44hJO30uWP+MaOKZcLUweS1SYrlrlPdPc4/9Ou2gohWZxgCIxFHsXLdLLeXR1Uh+QJkYhmZWk3yb9QE3fDPJIzoIRIZ9cL1LDn9pFnU15iSGlUF16fTCJarK0l/cGiBCNmUcPFA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789659228; c=relaxed/simple; bh=6Yx0Ucn0xNkJvbR+iNXtzPNiP/bDrZe0bpSfVABDdjQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mmG6RMKTpRS0PDmySHlyVVTsOMLPsIRa2OXm+50Q5tq+dwP9cGfBeauIniSeesPZjFTm16vSnTzAMCfSoQo6jmPR3/pv/FsLTJRpDRJNoNBrckmVePJlqhiZe7qNJqGU+drejscK5ylCYYbtWtkJvBIJNrbVOkcQB3Ahv3cCj6w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=c89wi/ap; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="c89wi/ap" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 890611F000FF; Thu, 17 Sep 2026 15:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789659221; bh=/7Ipi6AApbxTb/FJM4V5rjVaynC+vJn/bibJqCFey5c=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=c89wi/apOIgqP0ax1kSfmNcqLXOWOM7jht6CLpwnCI28oMnUZ4rQ4hJWa8u9M85kc X+tjl9nsbMV09TLn0S6H2CN2aF/kw4HJPwfEjNVY9dhm2/RCJzokBEdhHJnu9qTFpl c5gqOoRll2d+hpT33CGIcuDnNSzTRdhqFTA7MGkE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Linus Walleij , Mark Brown , Sasha Levin Subject: [PATCH 7.2 184/733] ASoC: ux500: Deassert the MSP reset during probe Date: Thu, 17 Sep 2026 16:08:12 +0100 Message-ID: <20260917151355.719748468@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260917151350.597953846@linuxfoundation.org> References: <20260917151350.597953846@linuxfoundation.org> User-Agent: quilt/0.69 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 7.2-stable review patch. If anyone has any objections, please let me know. ------------------ From: Linus Walleij [ Upstream commit 66ec63e7a90bedc56aa050fbe437964008c3d584 ] The devicetree has described each MSP reset line since the PRCC reset controller was added, but the driver never acquires or deasserts it. The block can consequently remain inaccessible when firmware has left it in reset. Acquire the reset exclusively and keep it deasserted for the lifetime of the bound device. Fixes: 95f04048325c ("ARM: dts: ux500: Add reset lines to IP blocks") Assisted-by: LLM Signed-off-by: Linus Walleij Link: https://patch.msgid.link/20260902-ux500-msp-fixes-v2-5-4b60b002d55a@kernel.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/ux500/ux500_msp_dai.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/ux500/ux500_msp_dai.c b/sound/soc/ux500/ux500_msp_dai.c index 78278927cc53a..b3de115d829a7 100644 --- a/sound/soc/ux500/ux500_msp_dai.c +++ b/sound/soc/ux500/ux500_msp_dai.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -686,6 +687,7 @@ static const struct snd_soc_component_driver ux500_msp_component = { static int ux500_msp_drv_probe(struct platform_device *pdev) { struct ux500_msp_i2s_drvdata *drvdata; + struct reset_control *reset; int ret = 0; drvdata = devm_kzalloc(&pdev->dev, @@ -733,6 +735,11 @@ static int ux500_msp_drv_probe(struct platform_device *pdev) return -EINVAL; } + reset = devm_reset_control_get_exclusive_deasserted(&pdev->dev, NULL); + if (IS_ERR(reset)) + return dev_err_probe(&pdev->dev, PTR_ERR(reset), + "Failed to deassert MSP reset\n"); + ret = ux500_msp_i2s_init_msp(pdev, &drvdata->msp); if (ret) { dev_err(&pdev->dev, -- 2.53.0