[PATCH v3 11/24] drm/sun4i: Don't check for LVDS and RGB when TCON has only ch1
From: Chen-Yu Tsai <hidden>
Date: 2018-06-28 02:09:18
Also in:
dri-devel, linux-clk, linux-devicetree, lkml
From: Chen-Yu Tsai <hidden>
Date: 2018-06-28 02:09:18
Also in:
dri-devel, linux-clk, linux-devicetree, lkml
On Mon, Jun 25, 2018 at 8:02 PM, Jernej Skrabec [off-list ref] wrote:
LVDS and RGB interfaces are always connected to TCONs which have channel 0. It doesn't make sense to try to init them on TV TCONs. Add a check if TCON has channel 0 before trying to init LVDS or RGB interface. Signed-off-by: Jernej Skrabec <redacted>
Reviewed-by: Chen-Yu Tsai <redacted> Though I think at some point we could just have separate functions to handle channel 0 and channel 1. ChenYu