Commit cac2ca9
net: macb: fix for suspend-to-mem feature
When suspending the macb, the management port for the MIIM interface was
disabled. When resuming, the PHY (KSZ8081RNB) was no longer responding.
We have to keep the management port enable to fix this issue.
Moreover, to get an up-to-date backup of the NCFGR register, it has to
be done just before suspending the macb.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
[claudiu.beznea@microchip.com: removed code from macb_suspend()]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>1 parent f2d887c commit cac2ca9
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2028 | 2028 | | |
2029 | 2029 | | |
2030 | 2030 | | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
2031 | 2038 | | |
2032 | 2039 | | |
2033 | 2040 | | |
2034 | 2041 | | |
2035 | | - | |
| 2042 | + | |
| 2043 | + | |
2036 | 2044 | | |
2037 | 2045 | | |
2038 | | - | |
| 2046 | + | |
| 2047 | + | |
2039 | 2048 | | |
2040 | 2049 | | |
2041 | 2050 | | |
| |||
0 commit comments