Commit c804002
stmmac: meson: retry phy connnection
we need to wait mdio-mux node ready in stmmac probe, so try
to iterate phy connections several times.
this will fix following error when in system bootup:
541:[ 12.377795] meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
542:[ 12.380991] meson8b-dwmac ff3f0000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19)
Signed-off-by: Luke Lu <luke.lu@libre.computer>1 parent 4cd541a commit c804002
1 file changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1136 | 1136 | | |
1137 | 1137 | | |
1138 | 1138 | | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
1139 | 1156 | | |
1140 | 1157 | | |
1141 | 1158 | | |
| |||
1184 | 1201 | | |
1185 | 1202 | | |
1186 | 1203 | | |
1187 | | - | |
| 1204 | + | |
| 1205 | + | |
1188 | 1206 | | |
1189 | 1207 | | |
1190 | 1208 | | |
| |||
0 commit comments