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 62051253F2D; Mon, 23 Jun 2025 13:23:36 +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=1750685016; cv=none; b=cEMjd1RbVSfvGgwSoTaj2gVhft0sDmU6wZ5NYv8DaZow5J6T+Ntm/mp7f70uzRbT7k81RCCMEYmy9ectOQUPbBKV1fRA32wrsrS0z9Lc1GwHaDxzEDfoDcP83na9K7ahnqW57Srx+IOobP7ZBV27TweZpLW4Oi3bb5UtHoPQkSY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750685016; c=relaxed/simple; bh=zsNAi8/jHhbvscy6HbldMBiWUUnLtMQbx+ntGUTB3QM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=G4iIQBuwJmeRha0dCFhh1Qrf4b5ufhzwLhDQNZeD7fP+rxmqgfR4zKC9d/416T4dyqmFzf3XLRNNP6+QjxiToS0PnYVpnF8n93lYWX+NzfkblEuchDeUYtKMvcUcMzwCEyGhKXOh4WtkUCSBAGdjPzD29bLqwP2UtW0C8JRncnA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SP+2Xqgo; 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="SP+2Xqgo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6CC3C4CEEA; Mon, 23 Jun 2025 13:23:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750685016; bh=zsNAi8/jHhbvscy6HbldMBiWUUnLtMQbx+ntGUTB3QM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SP+2XqgoCdFVz19P3sv0L5R3q+lmSxb+IODE9SvoJl2isCJMDaYdP7jLQmBDBT4J9 loRaclu5LgGAuROH8AhmxRB/SnSasNSVlIYPhePJDyrUNdQlMMUytrfE8WNldyzpuM l7YcFAQ1xgPHQMRgLwIqBjcQRbTE0D6F/PoKKCFg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Christophe JAILLET , Krzysztof Kozlowski , Lee Jones , Sasha Levin Subject: [PATCH 5.4 058/222] mfd: exynos-lpass: Avoid calling exynos_lpass_disable() twice in exynos_lpass_remove() Date: Mon, 23 Jun 2025 15:06:33 +0200 Message-ID: <20250623130613.857672777@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130611.896514667@linuxfoundation.org> References: <20250623130611.896514667@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Christophe JAILLET [ Upstream commit b70b84556eeca5262d290e8619fe0af5b7664a52 ] exynos_lpass_disable() is called twice in the remove function. Remove one of these calls. Fixes: 90f447170c6f ("mfd: exynos-lpass: Add runtime PM support") Signed-off-by: Christophe JAILLET Reviewed-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/74d69e8de10308c9855db6d54155a3de4b11abfd.1745247209.git.christophe.jaillet@wanadoo.fr Signed-off-by: Lee Jones Signed-off-by: Sasha Levin --- drivers/mfd/exynos-lpass.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/exynos-lpass.c b/drivers/mfd/exynos-lpass.c index 99bd0e73c19c3..ffda3445d1c0f 100644 --- a/drivers/mfd/exynos-lpass.c +++ b/drivers/mfd/exynos-lpass.c @@ -144,7 +144,6 @@ static int exynos_lpass_remove(struct platform_device *pdev) { struct exynos_lpass *lpass = platform_get_drvdata(pdev); - exynos_lpass_disable(lpass); pm_runtime_disable(&pdev->dev); if (!pm_runtime_status_suspended(&pdev->dev)) exynos_lpass_disable(lpass); -- 2.39.5