Stefan Agner 2d81482821 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>
2017-11-09 18:09:30 +01:00
..
2017-09-14 13:33:33 -07:00
2017-08-21 16:49:58 +02:00
2017-09-14 13:33:33 -07:00
2017-09-14 13:33:33 -07:00
2017-02-25 13:20:22 -08:00
2017-09-04 16:00:49 +02:00
2016-02-26 13:28:35 +02:00
2016-02-26 13:28:35 +02:00
2017-09-04 16:00:49 +02:00
2015-10-08 12:19:39 +03:00
2017-05-27 15:41:17 -04:00
2017-09-14 13:33:33 -07:00
2016-09-07 12:06:53 +03:00
2017-05-11 11:12:26 -07:00