sunxi: video: HDMI: split VSYNC and HSYNC polarity settings
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 29 Nov 2017 06:33:27 +0000 (22:33 -0800)
committerJagan Teki <jagan@amarulasolutions.com>
Sat, 2 Dec 2017 16:31:23 +0000 (22:01 +0530)
commit64089178219371a512ddca8016d78bfdbe84565d
treebeeec713225d8a1ba7b05893806c28e7a67d5ab4
parent3cfecee49c6fa97a4256f770d12ff476941e5a88
sunxi: video: HDMI: split VSYNC and HSYNC polarity settings

These are actually different bits, and since some monitors (Benq BL2420PT)
have modes with different HSYNC and VSYNC polarity, we should set them
independently

Tested on Pine64-LTS with Benq BL2420PT monitor.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/video/sunxi/sunxi_dw_hdmi.c