drm/rockchip: dw-mipi-dsi: defer probe if panel is not loaded
authorJohn Keeping <john@metanate.com>
Fri, 24 Feb 2017 12:55:04 +0000 (12:55 +0000)
committerSean Paul <seanpaul@chromium.org>
Wed, 1 Mar 2017 19:48:58 +0000 (14:48 -0500)
commit2f8f2d29912885778ca198da682935748e42f0d6
tree9ac571019c66390fdc7b8ec451a110ec631325e1
parentd790ad03ed3432839151bc54c611ec87df8bf896
drm/rockchip: dw-mipi-dsi: defer probe if panel is not loaded

This ensures that the output resolution is known before fbcon loads.
mipi_dsi_host_register() is moved above dw_mipi_dsi_register() to
simplify error cleanup since the order of these operations does not
matter.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170224125506.21533-22-john@metanate.com
drivers/gpu/drm/rockchip/dw-mipi-dsi.c