From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796383279; b=Zp1N3h6BO7OEnFAwvll+atP3q1XGHJgtm5B8Spsm/knT40S3j4fCP0XGoPC3PQZNWJvM OvjMa2gdSSw4eFHfXcAOxBKyg1/TybjF98kP+3k3YhUwtg/bbDnrU6YRyUZbUxJezVxrw Gu0Dgmeh7iShXy7IUejYxJ8Zbhua8VB7frzfSZhHXWogzAGsKjcYkgA6WR+5ZKCHa6WMD juEmM924XZjRvl/BJ9Oi2A1rRdstN21liU+ERa2umptKrBTT8CrCrnZ8c3SvQBP0rD3oQ arzs1RL+LiHKhhvEUiNoThC5bFxtB02EjuxQd5j92YesvBqDut2F3rlYV+tb5ozbwUA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796383279; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=FmMCe6sKp2wOdU2dhp00xpjk+O1PQHftKh/2ZwfeMxM=; b=QleZk05Xh/fmHdxuv28II22c4HDq1eLgm3IRLKWOhKjd4VN0F8RrugNMX+IHxN0OAhSZ 00RukI9E7MkDtGeyA9ieF17t/qAKUM2UrWqlXOeHEtcYpBLR+hkStw6lADqigAKv3IYbU Z/AdL5Niy8bwxmUZtEYiOrRv7fMnCdf0QA2GW+QNwCM1tae03vhISk1R6q5jM2gHf9IIV E+kw+Evzfm6y8dM4pwT2AiaOD8tuXCrf6R0pKdU9SSC9jATx/yeLBFbd85MrF4ynvXzVS wcas78mC8Qc/YMWtjxre+fmPZTMJZXQWHYgSvrlBa1Cp06BHQNYJc5l2JoIVJkIdIDA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b="LzVFF/pW"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4961B606A684; Fri, 4 Dec 2026 11:21:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=LzVFF/pW Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDB731F00933; Fri, 4 Dec 2026 11:21:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796383279; bh=FmMCe6sKp2wOdU2dhp00xpjk+O1PQHftKh/2ZwfeMxM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=LzVFF/pWRcFzAjL8iDe0cyw9N4URNu9EjBnPCpoWUO5mHLR4/7zm9dGRX93pNxMFm hczq7lt9oU/I/Y7tNnlJXioIvEYWUYqm8M8YHlMDuZi9DhhM2+/vDr8QO5EAFotNzV ujp1Us8kiGal5NZSDW0B/8iSzh6H2F2wKBWR+40I= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Felix Gu , Manivannan Sadhasivam , Paul Cercueil , Olivier Louvignes , "H. Nikolaus Schaller" , Vinod Koul , Sasha Levin Subject: [PATCH 6.12 159/555] phy: ingenic: fix unbalanced regulator disable in exit Date: Fri, 4 Dec 2026 19:03:22 +0900 Message-ID: <20261204100614.295127374@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100603.988357525@linuxfoundation.org> References: <20261204100603.988357525@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Felix Gu [ Upstream commit 71c1be5cc4e083852c8437bd6afcb99ee3050e8e ] exit() and power_off() both disable vcc_supply, so the regulator gets disabled twice for every power cycle, causing an unbalanced disable WARN. Drop the regulator_disable() call from the exit callback and leave the regulator to the power_on/power_off pair. Fixes: 31de313dfdcf ("PHY: Ingenic: Add USB PHY driver using generic PHY framework.") Signed-off-by: Felix Gu Reviewed-by: Manivannan Sadhasivam Reviewed-by: Paul Cercueil Tested-by: Olivier Louvignes Reviewed-By: H. Nikolaus Schaller Link: https://patch.msgid.link/20260906-ingenic-v1-1-2311f3df8ddc@gmail.com Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/phy/ingenic/phy-ingenic-usb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/phy/ingenic/phy-ingenic-usb.c b/drivers/phy/ingenic/phy-ingenic-usb.c index eb2721f72a4c1..35984dd8a1bd7 100644 --- a/drivers/phy/ingenic/phy-ingenic-usb.c +++ b/drivers/phy/ingenic/phy-ingenic-usb.c @@ -124,7 +124,6 @@ static int ingenic_usb_phy_exit(struct phy *phy) struct ingenic_usb_phy *priv = phy_get_drvdata(phy); clk_disable_unprepare(priv->clk); - regulator_disable(priv->vcc_supply); return 0; } -- 2.53.0