]> 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)
commit05ae96e132f2563183d4a39d300839d311a9a8f3
tree88f47a77433cd2476ffd2125f75c6babfa97e7a1
parent341ab5deb47b36ad7dbd2b7f569a430457e79f6d
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: d8c84b6d1bb1 ("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