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 E343A3DEFE6 for ; Thu, 4 Jun 2026 08:49:37 +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=1780562981; cv=none; b=m0fDFIVAWpPzrKrTR+iWKqEtBEL18P/N5eYVBps/V0NyzB1QsEF54HCIvX9Tx7J0yGykJk0aeVw8VdY+avqAmJCx8mJTHJr4nUpV0warHSNMpATetqLvsHRvr7qrfnVKBPAfAp/lFe5aWrYJsHxj8pC+5IecNbzsok4AKHSU9y0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780562981; c=relaxed/simple; bh=wJiJ3Ct5FGKb973jpRzu2KuFzafEk+q7FTYhZIFewSA=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=OGnIJnS+ZdYupVAj2lbNFIzj9OuW+duMTNjPvVr/ZvZFUbdo9xRxfVYioMqITVRNiMJgv+I1SsWeiSC33YVaaTUG6xm7OGM74fBt4kOr62wcbQZIz3lLEqr9SbIE6EPaytYmJ8lafPdU4hKBDfe4YykAzYJj8dH0p8X9AcdwLlY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=n7Ge/z+S; 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="n7Ge/z+S" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CC701F00893; Thu, 4 Jun 2026 08:49:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780562977; bh=YcPhZEiwoFoIZq389h+NPKUaiKQtWhE0KrSLoUzM4rU=; h=Subject:To:Cc:From:Date; b=n7Ge/z+S9Qjnw5WsTkMEt0U11nO/1iB/eR3a305K+BXJrs/v3Xt0Y+2ZsNIO0nNNQ nKCaWJ8+obekj+3A/dHKyrs7Gh9B9aCjQ8+BE0gAOIJXVrat3LBPeqUhf0MlTExKcN EnJrYRo2/3hwqSTehBssdpspprhRvaR6SqyeT3HM= Subject: FAILED: patch "[PATCH] usb: cdns3: plat: fix leaked usb2_phy initialization on" failed to apply to 6.1-stable tree To: peter.chen@cixtech.com,gregkh@linuxfoundation.org,sashiko-bot@kernel.org,stable@kernel.org Cc: From: Date: Thu, 04 Jun 2026 10:48:29 +0200 Message-ID: <2026060428-repaying-swept-0b59@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.1-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.1.y git checkout FETCH_HEAD git cherry-pick -x e6970cda63fd4b4546aeed9d0e2f53a7c95cd09c # git commit -s git send-email --to '' --in-reply-to '2026060428-repaying-swept-0b59@gregkh' --subject-prefix 'PATCH 6.1.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From e6970cda63fd4b4546aeed9d0e2f53a7c95cd09c Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Wed, 13 May 2026 16:53:09 +0800 Subject: [PATCH] usb: cdns3: plat: fix leaked usb2_phy initialization on usb3_phy acquisition failure Move usb2_phy initialization after usb3_phy acquisition. Fixes: f738957277ba ("usb: cdns3: Split core.c into cdns3-plat and core.c file") Cc: stable Reported-by: sashiko-bot Closes: https://lore.kernel.org/linux-devicetree/agKaEePSFknhDBg2@nchen-desktop/T/#m21e1d9c1574eb127ce03c0c2a1a49002ce435b52 Signed-off-by: Peter Chen Link: https://patch.msgid.link/20260513085310.2217547-2-peter.chen@cixtech.com Signed-off-by: Greg Kroah-Hartman diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c index 735df88774e4..d2e8d1e9007b 100644 --- a/drivers/usb/cdns3/cdns3-plat.c +++ b/drivers/usb/cdns3/cdns3-plat.c @@ -126,15 +126,15 @@ static int cdns3_plat_probe(struct platform_device *pdev) return dev_err_probe(dev, PTR_ERR(cdns->usb2_phy), "Failed to get cdn3,usb2-phy\n"); - ret = phy_init(cdns->usb2_phy); - if (ret) - return ret; - cdns->usb3_phy = devm_phy_optional_get(dev, "cdns3,usb3-phy"); if (IS_ERR(cdns->usb3_phy)) return dev_err_probe(dev, PTR_ERR(cdns->usb3_phy), "Failed to get cdn3,usb3-phy\n"); + ret = phy_init(cdns->usb2_phy); + if (ret) + return ret; + ret = phy_init(cdns->usb3_phy); if (ret) goto err_phy3_init;