]> 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)
commitb71ec5c28c8d2f710ea681759886173058462188
tree33bc4fb109af1fdb478da4df06c52d065c2144c4
parentcc415fba172f7ddc1ebb04f041ffa5c55a27c6cb
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