Re: [PATCH v2] usb: ehci-orion: remove optional PHY handling code remnants
From: Miquel Raynal <miquel.raynal@bootlin.com>
Date: 2026-02-23 08:45:56
Also in:
linux-usb, lkml
From: Miquel Raynal <miquel.raynal@bootlin.com>
Date: 2026-02-23 08:45:56
Also in:
linux-usb, lkml
On 21/02/2026 at 10:02:37 +01, Gabor Juhos [off-list ref] wrote:
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.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Gabor Juhos <redacted>Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Thanks! Miquèl