summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2019-08-22 04:53:23 +0200
committerDave Airlie <airlied@redhat.com>2019-08-22 04:53:29 +0200
commit14673e153926d3ad89e303345d1412cd7bd7c9dd (patch)
tree8592dcacea09d07d656968c82b35e5fcc394f333 /drivers
parentLinux 5.3-rc5 (diff)
parentdrm: rcar_lvds: Fix dual link mode operations (diff)
downloadlinux-14673e153926d3ad89e303345d1412cd7bd7c9dd.tar.xz
linux-14673e153926d3ad89e303345d1412cd7bd7c9dd.zip
Merge tag 'du-fixes-20190816' of git://linuxtv.org/pinchartl/media into drm-fixes
R-Car LVDS encoder fix Signed-off-by: Dave Airlie <airlied@redhat.com> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190816130115.GH5020@pendragon.ideasonboard.com
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_lvds.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c
index 1c62578590f4..082d02c84024 100644
--- a/drivers/gpu/drm/rcar-du/rcar_lvds.c
+++ b/drivers/gpu/drm/rcar-du/rcar_lvds.c
@@ -673,10 +673,8 @@ static int rcar_lvds_parse_dt_companion(struct rcar_lvds *lvds)
/* Locate the companion LVDS encoder for dual-link operation, if any. */
companion = of_parse_phandle(dev->of_node, "renesas,companion", 0);
- if (!companion) {
- dev_err(dev, "Companion LVDS encoder not found\n");
- return -ENXIO;
- }
+ if (!companion)
+ return 0;
/*
* Sanity check: the companion encoder must have the same compatible