drm/msm/dsi: Don't error if a DSI host doesn't have a device connected
authorArchit Taneja <architt@codeaurora.org>
Wed, 4 Jan 2017 08:44:58 +0000 (14:14 +0530)
committerRob Clark <robdclark@gmail.com>
Mon, 6 Feb 2017 16:28:44 +0000 (11:28 -0500)
commita1b1a4f7e4c3cf3352ae477b86ddea2d4ed35d3e
tree33bc4fb109af1fdb478da4df06c52d065c2144c4
parent10967a0687b13a27d77b4a77d97010359cb8267f
drm/msm/dsi: Don't error if a DSI host doesn't have a device connected

The driver returns an error if a DSI DT node is populated, but no device
is connected to it or if the data-lane map isn't present. Ideally, such
a DSI node shouldn't be probed at all (i.e, its status should be set to
"disabled in DT"), but there isn't any harm in registering the DSI device
even if it doesn't have a bridge/panel connected to it.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c