]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Support the case where the DSI device is disabled
authorBoris Brezillon <boris.brezillon@bootlin.com>
Wed, 9 May 2018 13:00:42 +0000 (15:00 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 10 Jul 2018 15:59:05 +0000 (17:59 +0200)
commit85aea9c740b1776bb68069e4b527b360c6e05188
tree8892e563b2b551148ce7c5a604b9350a6e3c8885
parentdc356620a877774682df3facfdd0444036994537
drm/vc4: Support the case where the DSI device is disabled

Having a device with a status property != "okay" in the DT is a valid
use case, and we should not prevent the registration of the DRM device
when the DSI device connected to the DSI controller is disabled.

Consider the ENODEV return code as a valid result and do not expose the
DSI encoder/connector when it happens.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180509130042.9435-5-boris.brezillon@bootlin.com
drivers/gpu/drm/vc4/vc4_dsi.c