Commit 4e7a801
net: macb: do not initialize mac_managed_pm on fixed link
In case of KSZ switch available on SAMA5D2 ICP some of SPI transfers
fails. This leaves the phy state machine in error state leading to
switch being unused after resume. By removing mac_managed_pm for
fixed links we rely on mdio_bus_phy_resume() being called later which
seems to work. This is only a temporary fix. Proper fix will need
to be done either on SPI or KSZ driver. This behavior was also present
in previous releases. A fixes tag hasn't been added as there no source
identified at the moment to blame.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>1 parent 5e9df83 commit 4e7a801
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
871 | | - | |
| 871 | + | |
| 872 | + | |
872 | 873 | | |
873 | 874 | | |
874 | 875 | | |
| |||
0 commit comments