diff options
| author | Jagan Teki <[email protected]> | 2021-07-04 19:29:14 +0530 |
|---|---|---|
| committer | Philippe Cornu <[email protected]> | 2021-07-19 15:31:56 +0200 |
| commit | 648ce7fd186cfb2ed7443f32bea8db735f9d219c (patch) | |
| tree | 398ba354424152b1b226e751b230682388642d96 /scripts/gdb/linux/proc.py | |
| parent | 57f6190a60ecc19f1ddddac0d7ea6524229271a9 (diff) | |
drm/stm: ltdc: Silence -EPROBE_DEFER till bridge attached
As dw-mipi-dsi supported all possible ways to find the DSI
devices. It can take multiple iterations for ltdc to find
all components attached to the DSI bridge.
The current ltdc driver failed to find the endpoint as
it returned -EINVAL for the first iteration itself. This leads
to following error:
[ 3.099289] [drm:ltdc_load] *ERROR* init encoder endpoint 0
So, check the return value and cleanup the encoder only if it's
not -EPROBE_DEFER. This make all components in the attached DSI
bridge found properly.
Signed-off-by: Jagan Teki <[email protected]>
Tested-by: Yannick Fertre <[email protected]>
Acked-by: Philippe Cornu <[email protected]>
Signed-off-by: Philippe Cornu <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions