summaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-05-09 16:00:40 +0300
committerThierry Reding <treding@nvidia.com>2018-07-10 18:59:05 +0300
commitc59eb3cfde1faed960fe6de5040c4bd4310fb1cd (patch)
treed40cafa26564e1d065a5e0004de01c3b6bbf24af /lib/test_overflow.c
parent5fa8e4a22182df8ea39adeba4bd518506e26a96d (diff)
downloadlinux-c59eb3cfde1faed960fe6de5040c4bd4310fb1cd.tar.xz
drm/panel: Let of_drm_find_panel() return -ENODEV when the panel is disabled
DT nodes might be present in the DT but with a status property set to "disabled" or "fail". In this case, we should not return -EPROBE_DEFER when the caller asks for a drm_panel instance. Return -ENODEV instead. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180509130042.9435-3-boris.brezillon@bootlin.com
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions