]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: usb: lan78xx: remove explicit check for missing PHY driver
authorOleksij Rempel <o.rempel@pengutronix.de>
Mon, 5 May 2025 08:43:36 +0000 (10:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 May 2025 11:57:05 +0000 (12:57 +0100)
commit3da0ae52705d609f7d080a8158cd46db222b29de
treed104caabe96809b2b2d4034ceaec9a8534ab2c59
parent232aa459aa40a6f3c7d27063b3e9c1d57786eaff
net: usb: lan78xx: remove explicit check for missing PHY driver

RGMII timing correctness relies on the PHY providing internal delays.
This is typically ensured via PHY driver, strap pins, or PCB layout.

Explicitly checking for a PHY driver here is unnecessary and non-standard.
This logic applies to all MACs, not just LAN78xx, and should be left to
phylib, phylink, or platform configuration.

Drop the check and rely on standard subsystem behavior.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Thangaraj Samynathan <thangaraj.s@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c