]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: tcon: Reduce the scope of the LVDS error a bit
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Feb 2018 12:57:01 +0000 (13:57 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 6 Mar 2018 15:27:14 +0000 (16:27 +0100)
commita46327305107f2d31e0d96fce3feea9969000d43
tree89bfae2b28b14daf1b4a829e6321c2f682f9e4fb
parent6c13cab0471731c0fc195fc3d6df6b0485f7955d
drm/sun4i: tcon: Reduce the scope of the LVDS error a bit

The current logic to deal with old DT missing the LVDS properties doesn't
take into account whether the LVDS output is supported in the first place,
resulting in spurious error messages on SoCs where it doesn't even matter.

Introduce a new TCON flag to list if LVDS is supported at all to prevent
this from happening.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180221125703.4595-1-maxime.ripard@bootlin.com
drivers/gpu/drm/sun4i/sun4i_tcon.c
drivers/gpu/drm/sun4i/sun4i_tcon.h