From nobody Fri Apr 3 12:50:00 2026 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C99ED27C866 for ; Fri, 20 Feb 2026 13:27:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771594037; cv=none; b=XWvPDuX7NM8fGuF95svgZAY/OSiaK7QwYCwjWbX81ohxqGd6twRgjuO0nD/yu2oDguc58fXx2EOO5hH+0UCrOUc6SNIfEp9+HRHAtwUM07SV/xkbIL4j99mu8GDBwAfgaPPcx2VbPrGo8iffEBDxsETsoruS1VRUth9+LW+i//4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771594037; c=relaxed/simple; bh=SL+hCJl8NVJyHtTra+SBQTc/Qc0hchPC1rt+qmF2/5M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=SP66KkmOR6hbGNuVFqKEG5snfpxQE/PRywF8/Q9ZMr/gnKTNnV0hdIgfiCFWQcKiztCUF2ycOJzprYlgMKMMoYW0AJZzemIYfXhn0AXN+GE69c6iDSx4GHbvjXIs/CMA0AJy2jD6ATo9Qtv1Xw+i3UQGDwGQCd7hp6Yh8osJAPk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GDyqwfVh; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GDyqwfVh" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4834826e5a0so23275705e9.2 for ; Fri, 20 Feb 2026 05:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771594034; x=1772198834; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=XPeIw7v04h3XB7z1p+iLdmX/CwyJGydUSf5l09KjUDs=; b=GDyqwfVhxlROMeqAs9YGAvPFx7W2AewnTfqkOvF+YdsbhkpOEPS4CEQ49ryKeW+JA5 X9SO1dmfe7iGM99SDcnZq+mi6UHZXBzKEIG95FtOZSawUH7p5yZOsaSrxVv/xqEH/E+c chacvAAcW9SOOyg6HXKu3XgOuFltZxoAaWWvv/FnG9AgyqnpTCHaTj9M0Kst2z0D/OXh WTltkJ5/giZZfTk3Zh1/kQoSi8M7ah7H2lJMsCLQtRhGg6vxZUAWIeNmCob/KiRlC1Ly DZr+hwSnJTfTsQothCTfsIy07/NFe7xyAM3D2pJdQenObiJ291h2RKNih8ejqoeyd2da WVQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771594034; x=1772198834; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XPeIw7v04h3XB7z1p+iLdmX/CwyJGydUSf5l09KjUDs=; b=mbzeGLgYwKplbzeRhOpYtRuJX4hf9VRrWEpB20gFjVDG1xWRSuMSQsvgmENIGwyyMZ aSCakbsk/GG6H9d9FeGf2O7eTYPLQD9goVTrfUnm5IXQqPuXrqDkzINRPcrmdlnzKUu0 GScMwkXJbx+1BJgZIGdiowv5ZoOJi2fUeimXN9VP594BaHjZVEFXqziYFZb91Dj5FSYT xgnwUrNMvWO5x6klc8lPrNzixatvSbegeFSZA+ipiebapy+3TnonbskJ4sTKa+vAVB9S RiUJu9HZj4wJNYVgKe1VYmu71p6t/WRgIvBwvoQkkyklXNFxlLTtixkOK+IWGv3HVZ1f 5Gzg== X-Forwarded-Encrypted: i=1; AJvYcCXd7BqerwxAvx62cZypLHU9siTqY0REJX2QN3ip6aTQJRynMZcEI+fPPU/tqFEZJSD/bqGAVj17EYRGUC4=@vger.kernel.org X-Gm-Message-State: AOJu0YzTdVGeevaxUJIQuCDCao4ejLoorFeryRUZdFOiML3U0Vw+sCD7 lV+PgxhyYsDWzRguXp9LpN4eHSf/ThidgkzMsKVJTNhuvILIdUrR6PNJyzxhPA== X-Gm-Gg: AZuq6aL29dXiS647fHBXfwKgp4u73ko2xqcKCYUcEVUG+TuOq76XhOOk+KsdBl/DLd9 bJ3EXEOHhmQzFgc/SUnIhZsTAcPUl2VRcca98/5YPMAxkD2G0mf/xNI+WEpcSaZgREwRyLAz5ma XZ9mY7Tvb/X1sx/ivfrEiZWLt6qqf6GLwepawy8MOGyqRTYzv+A4dZEfCR5Ngq3KHRZODYJ6bg2 RitR5IIrf9611LPa3MZ0fX9GFN8yzJdihY1pcC8kELnwnoIf2y1w+7Cn4DNRxttXev+dCOl7Dp8 a5Rl96xsC4Nf5GM6eAjZtm6+KTSO2eTQKH1Y7C6sbHCjcpfsn49Be95AbDNBiBCdGMAupfOw8fz yR9lYawqZrjwitZxnQJACEJjUtzr0O3m3CllyU26PYkOtEl1WT+NTWbB3VzfBWUTXsBmp1pxLZ+ 6qqQZrz5Mn/4gKokjim2waPoXSF3cghsJ/WL3LzVAC0Pq8+9inrdUJGrxr5QMmESA= X-Received: by 2002:a05:600c:46cd:b0:479:1b0f:dfff with SMTP id 5b1f17b1804b1-48398a550dcmr142793575e9.10.1771594033629; Fri, 20 Feb 2026 05:27:13 -0800 (PST) Received: from [192.168.0.253] (5D59A51C.catv.pool.telekom.hu. [93.89.165.28]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-483a3dea9aasm25882215e9.1.2026.02.20.05.27.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Feb 2026 05:27:13 -0800 (PST) From: Gabor Juhos Date: Fri, 20 Feb 2026 14:27:02 +0100 Subject: [PATCH] usb: ehci-orion: remove optional PHY handling code remnants Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260220-ehci-orion-drop-phy-handling-v1-1-01abd9f168cc@gmail.com> X-B4-Tracking: v=1; b=H4sIACVhmGkC/x3MTQqEMAxA4atI1gZq5gfqVcSFtBkbGNqSgjhI7 26Y5YOPd0FjFW4wDxcoH9KkZItpHCCkLe+MEq2BHL0dkUNOQbCoMYxaKtb0Q4PxK3nH6B9hegV P7klgi6r8kfO/X9beb7GjdPVuAAAA X-Change-ID: 20260220-ehci-orion-drop-phy-handling-d93c15c92042 To: Alan Stern , Greg Kroah-Hartman , Miquel Raynal Cc: Gregory CLEMENT , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Gabor Juhos X-Mailer: b4 0.14.2 Since the USB core code handles the generic USB PHYs automatically, the optional PHY handling code has been removed from the 'ehci-orion' driver entirely by commit e04585184dcf ("usb: ehci-orion: avoid double PHY initialization"). However, the devm_phy_optional_get() call has been kept so the driver still gets the PHY even though it is not used for anything in the driver. Drop the remaining code, and also remove the 'phy' member of the 'orion_ehci_hcd' structure to simplify the code. Fixes: e04585184dcf ("usb: ehci-orion: avoid double PHY initialization") Signed-off-by: Gabor Juhos Acked-by: Alan Stern --- drivers/usb/host/ehci-orion.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index 34abff8669f8bf096f4547b6ce0977eb130b3c8d..eaaa49712a8c64928771eb31716= 5091480245d0f 100644 --- a/drivers/usb/host/ehci-orion.c +++ b/drivers/usb/host/ehci-orion.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -60,7 +59,6 @@ =20 struct orion_ehci_hcd { struct clk *clk; - struct phy *phy; }; =20 static struct hc_driver __read_mostly ehci_orion_hc_driver; @@ -276,13 +274,6 @@ static int ehci_orion_drv_probe(struct platform_device= *pdev) goto err_put_hcd; } =20 - priv->phy =3D devm_phy_optional_get(&pdev->dev, "usb"); - if (IS_ERR(priv->phy)) { - err =3D PTR_ERR(priv->phy); - if (err !=3D -ENOSYS) - goto err_dis_clk; - } - /* * (Re-)program MBUS remapping windows if we are asked to. */ --- base-commit: 2b7a25df823dc7d8f56f8ce7c2d2dac391cea9c2 change-id: 20260220-ehci-orion-drop-phy-handling-d93c15c92042 Best regards, --=20 Gabor Juhos