Commit d4ca26a
committed
drm/msm/dp: call dp_display_get_next_bridge() during probe
The funcion dp_display_get_next_bridge() can return -EPROBE_DEFER if the
next bridge is not (yet) available. However returning -EPROBE_DEFER from
msm_dp_modeset_init() is not ideal. This leads to -EPROBE return from
component_bind, which can easily result in -EPROBE_DEFR loops.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Konrad Dybcio <konrad.dybcio@linaro.org> # sc8180x-primus
Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/566208/
Link: https://lore.kernel.org/r/20231107004424.2112698-1-dmitry.baryshkov@linaro.org1 parent 3313c23 commit d4ca26a
1 file changed
Lines changed: 21 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1210 | 1210 | | |
1211 | 1211 | | |
1212 | 1212 | | |
1213 | | - | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
1214 | 1216 | | |
1215 | | - | |
| 1217 | + | |
| 1218 | + | |
1216 | 1219 | | |
1217 | | - | |
1218 | | - | |
1219 | | - | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1220 | 1223 | | |
1221 | | - | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
1222 | 1234 | | |
1223 | 1235 | | |
1224 | 1236 | | |
| |||
1293 | 1305 | | |
1294 | 1306 | | |
1295 | 1307 | | |
1296 | | - | |
1297 | | - | |
1298 | | - | |
| 1308 | + | |
| 1309 | + | |
1299 | 1310 | | |
1300 | | - | |
1301 | 1311 | | |
1302 | 1312 | | |
1303 | 1313 | | |
| |||
1428 | 1438 | | |
1429 | 1439 | | |
1430 | 1440 | | |
1431 | | - | |
| 1441 | + | |
1432 | 1442 | | |
1433 | 1443 | | |
1434 | 1444 | | |
| |||
1448 | 1458 | | |
1449 | 1459 | | |
1450 | 1460 | | |
1451 | | - | |
1452 | | - | |
1453 | | - | |
1454 | | - | |
1455 | 1461 | | |
1456 | 1462 | | |
1457 | 1463 | | |
| |||
0 commit comments