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=1796386277; b=4c1XlDp35Q1ZfdHcS4t5MG1lpeKQD/inKFrkQsPKLzEBscEHzVA6S74ekyib55SLwzHX SHgB5C6Bv9cd3ROrLI07xlAUSqL0ysGJIOaVTEjqFnn+uvfTktc4kmQFN90lzwkeAf4rT H/G3B/lGCtqnj1Qho1io2fZsD61WoG9PD6ei+KidPhLe/qsg9wayslHeYd4Szr5pEhjNb UNZzMA4efW8VJoPtmhra/L4YUSZ2v8MZi7abSDjpDzeWM+qICzG+CPe8gORmTR+X5FrEZ 2l0ESvqijNxiOW3NfpsX72Q00X2RZKXyCS3m5+LI2NjZ+06FPOPYEw2gdtfltAhjiyA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796386277; 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=6L/07A+xCuBSoVM0f5UvcykeZ8ekLZUIAgS//Hqcrqg=; b=zveEVRr8k/3bao2NYBbVNxAlDGVDequOrwd6Qu9ufIeSmIqS8CfNL8klai0N6yLMGvPR 5LI6Vvoyw1fKjZ0OS0P2Ni26pqHrNX8fRZ7jEgcLxEWa57Ng1Dyornztpb5XnpSNzOobe h2ilMKvvuDV3s3a14f9uzR3tvxrO2xUYwPwf30eugITp+OiA3Pg94FdhQrD/TCfc9r0DX kV2J6pzfUoLfNBktQdIMXRF0Z4uYCdgl4DHzVACIvcABbKprUBij6BpvIsQLKCmhNfLf0 eqrhRMeQddu31SbglQgQ3BkW98mZ01uYtpbyfbp9gzDHxMJDB77DV9svvr6XoHoVktw== 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=uGkqgyqb; 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 51F4E606A330; Fri, 4 Dec 2026 12:11:17 +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=uGkqgyqb Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD2C81F00939; Fri, 4 Dec 2026 12:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796386277; bh=6L/07A+xCuBSoVM0f5UvcykeZ8ekLZUIAgS//Hqcrqg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=uGkqgyqb9paoKxUTbfh+YRCMLRf5llVNfGwohkhMQPDKQPJmk6NO2hZ3tDiTcwTin 7XxgLGUTo6y5kHpQGgvsZ9C6JTjpaW4zsrzppMe9TOxahtVZzntI0K09RDi0EfFVNp 8aRrIhSCBqkwgITnApSYomgxCtxjzQ5rg5WVw6Z4= 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.6 0855/1167] phy: ingenic: fix unbalanced regulator disable in exit Date: Fri, 4 Dec 2026 19:04:42 +0900 Message-ID: <20261204100724.388049163@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100702.047403948@linuxfoundation.org> References: <20261204100702.047403948@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.6-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