drm/bridge/synopsys: dsi: defer probing if panel not
From: Heiko Stuebner <heiko@...> Date: Mon, 4 Jun 2018 11:11:35 +0200
Commit-Message
When the panel-driver is build as a module it currently fails hard as the panel cannot be probed directly: dw_mipi_dsi_bind() __dw_mipi_dsi_probe() creates dsi bus creates panel device triggers panel module load panel not probed (module not loaded or panel probe slow) drm_bridge_attach fails with -EINVAL due to empty panel_bridge So emit a -EPROBE_DEFER in that case to give the driver another chance at getting the display later. Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 3 +++ 1 file changed, 3 insertions(+)
Statistics
- 3 lines added
- 0 lines removed