diff options
author | Stefan Agner <stefan@agner.ch> | 2017-11-09 18:09:30 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-11-09 18:09:30 +0100 |
commit | 2d81482821e9a825030cf4ba60de990f1a2bdfd0 (patch) | |
tree | 6163dcf2842014a680a260289e2b467e9903a500 /include/video | |
parent | video: fbdev: au1200fb: Style clean up (diff) | |
download | linux-2d81482821e9a825030cf4ba60de990f1a2bdfd0.tar.xz linux-2d81482821e9a825030cf4ba60de990f1a2bdfd0.zip |
video: fbdev: mxsfb: fix pixelclock polarity
The PIXDATA flags of the display_flags enum are controller centric,
e.g. NEGEDGE means the controller shall drive the data signals on
pixelclocks negative edge. However, the drivers flag is display
centric: Sample the data on negative (falling) edge.
Therefore, change the if statement to check for the POSEDGE flag
(which is typically not set):
Drive on positive edge => sample on negative edge
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Liu Ying <Ying.Liu@freescale.com>
Cc: Lothar Waßmann <LW@KARO-electronics.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Max Krummenacher <max.krummenacher@toradex.com>
Cc: Mauro Salvini <mauro.salvini@smigroup.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions