commit | f94ab604db9db1a8a0cf0827f5573bfd2d2b89aa | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Jul 21 10:00:15 2015 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Oct 06 19:58:21 2015 +0100 |
tree | 3c921e8362921f116b9e71c921b4901cf9f0165e | |
parent | 049e6dde7e57f0054fdc49102e7ef4830c698b46 [diff] |
gpu: imx: simplify sync polarity setting Use a function to convert the sync pin to a bit mask for the DI_GENERAL register, and move this out of the interlace/non-interlace path to the common path. Tested-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>