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=1796388869; b=ps6DOz8x4nSCU8+MwNmW6FEyxfImfDL8UoGh1y7pkGBRuP8DHQQ9chf/ynUzUUV2gpgB sMDdXiTymxz2BKDiq3CFg8DKMvQNaKtm2AilltT9vjAJpZgcdkiWKgbT36Mpdjb284F9u MQGWX8PaUexR1zA+FNHl/UPDdpztyh+X7hkFrPzBkQbe0IfnTeJoY6yukuuKZ4PbF/n7C YjmnPutZIvCMszr9NqP6/ej+gW5VUj+eQ80+aALEu7FSStPgQYWOJrs5FMs3Xea0LATzr OU39AjYr5XyiiKJaVZ7e/Z0fipbdNuJ/qGcjDJ/K5d61IDQr6QU8mBSBPKr/CVg6+ZQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796388869; 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=bWR8HuwXIVeiTJPQCWM2gYdXqJ60S7YcGbB1vv1O4bs=; b=Tax6b1OEXH0kjLyXr9kSgevqKrMU9xvUtDd7MYWIyu37ndkcD+xZrIUclBKfx00Ymq5L lNuntDrSDIyMzrEVbftUxYEGu1f3fWYmnlqNyioCNXb0JhyC8r+1C1gcZsVQb76QLL/yy hvSlAiSi0F5Ni8fYmGpgrpuIp65BvVWAV3BtC/OkMqZ/6YB8PdAA+ZhApQW+a8DSdf0n8 OQInr9Pv+icFqO7u7QxNO6TS5KrmQSX2sTY59/OKouB00YCbghkplxt+Wiac+zqBRrCsW YytHF2P7r+9qD8guVHK3KJLdEGDsgJD12V8Vq929nnircAZmjUTqx9eD/eIR+eIymGg== 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=WFUe2SOp; 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 47C3F606A330; Fri, 4 Dec 2026 12:54:29 +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=WFUe2SOp Received: by smtp.kernel.org (Postfix) with ESMTPSA id B18621F00935; Fri, 4 Dec 2026 12:54:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796388869; bh=bWR8HuwXIVeiTJPQCWM2gYdXqJ60S7YcGbB1vv1O4bs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WFUe2SOpKAUrURHEjbrd/icmvNAl3C/JeafKvhNie33Y/oamOecn7D3zJsiJKhmkK wDLNbrx89Z8rvHQjZQh8fJH9t4aq5BqCbYUnREKrWxZiBU5PZbZs/dweRMJKLJgciU 2vwxvw9Pmmy07aKIQxXdN39txM3T9ak/baGTNJhY= 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.1 0782/1059] phy: ingenic: fix unbalanced regulator disable in exit Date: Fri, 4 Dec 2026 19:05:13 +0900 Message-ID: <20261204100704.276830407@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100643.980430235@linuxfoundation.org> References: <20261204100643.980430235@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-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 28c28d8164849..7b7588f0e0d41 100644 --- a/drivers/phy/ingenic/phy-ingenic-usb.c +++ b/drivers/phy/ingenic/phy-ingenic-usb.c @@ -123,7 +123,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