OSDN Git Service

drm/sun4i: fix HSYNC and VSYNC polarity
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Thu, 15 Feb 2018 17:54:48 +0000 (18:54 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 16 Feb 2018 20:16:03 +0000 (21:16 +0100)
commitfa4127c5eb8def998fd8a471d51a4f2560dea0a2
treee463a25d2caa1c25a2576205f50c4c5848b8ba51
parentcd0e93d865538decfd0f917c112d3fc57aac90fe
drm/sun4i: fix HSYNC and VSYNC polarity

Differently from other Lcd signals, HSYNC and VSYNC signals
result inverted if their bits are cleared to 0.

Invert their settings of IO_POL register.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1518717288-123578-1-git-send-email-giulio.benetti@micronovasrl.com
drivers/gpu/drm/sun4i/sun4i_tcon.c