Commit 82d1096
net: lan743x: Fix PHY reset handling during initialization and WOL
Remove lan743x_phy_init from lan743x_hardware_init as it resets the PHY
registers, causing WOL to fail on subsequent attempts. Add a call to
lan743x_hw_reset_phy in the probe function to ensure the PHY is reset
during device initialization.
Fixes: 23f0703 ("lan743x: Add main source files for new lan743x driver")
Signed-off-by: Thangaraj Samynathan <thangaraj.s@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250526053048.287095-3-thangaraj.s@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 68927eb commit 82d1096
1 file changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1346 | 1346 | | |
1347 | 1347 | | |
1348 | 1348 | | |
1349 | | - | |
1350 | | - | |
1351 | | - | |
1352 | | - | |
1353 | | - | |
1354 | 1349 | | |
1355 | 1350 | | |
1356 | 1351 | | |
| |||
3534 | 3529 | | |
3535 | 3530 | | |
3536 | 3531 | | |
3537 | | - | |
3538 | | - | |
3539 | | - | |
3540 | | - | |
3541 | 3532 | | |
3542 | 3533 | | |
3543 | 3534 | | |
| |||
3674 | 3665 | | |
3675 | 3666 | | |
3676 | 3667 | | |
| 3668 | + | |
| 3669 | + | |
| 3670 | + | |
| 3671 | + | |
3677 | 3672 | | |
3678 | 3673 | | |
3679 | 3674 | | |
| |||
0 commit comments