]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar_lvds: Fix dual link mode operations
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Mon, 5 Aug 2019 16:18:37 +0000 (18:18 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 16 Aug 2019 12:53:28 +0000 (15:53 +0300)
commit6b5db2cf109ec502ceee6b45a6ba10cb30aaf22e
tree88f47a77433cd2476ffd2125f75c6babfa97e7a1
parent90ab620e8c4e3cf2826679d4437a0ad8e4a1ded9
drm: rcar_lvds: Fix dual link mode operations

The R-Car LVDS encoder units support dual-link operations by splitting
the pixel output between the primary encoder and the companion encoder.

Currently the companion encoder fails at probe time, causing the
registration of the primary to fail as well, preventing the whole DU unit
from being registered at all.

Fix this by not bailing out from probe with error if the
"renesas,companion" property is not specified.

Fixes: d9f272b0ee3a ("drm: rcar-du: lvds: Add support for dual-link mode")
Reported-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_lvds.c