]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ad1255e4fdf7d7ba7984826e5d0786ac843a909
tree33bc4fb109af1fdb478da4df06c52d065c2144c4
parent093aa2e027fea9f472851e6215f404e952fc187a
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