]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: imx: simplify sync polarity setting
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Jul 2015 09:00:15 +0000 (10:00 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 6 Oct 2015 18:58:21 +0000 (19:58 +0100)
commit9031f13c08cacb3a6f823a75fb4acb423303be81
tree3c921e8362921f116b9e71c921b4901cf9f0165e
parentf45d154a7e5fca594e01c3f4b3b1dfaab025bdc7
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>
drivers/gpu/ipu-v3/ipu-di.c