video: ARM CLCD: fix up Integrator support
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 29 Aug 2016 09:29:31 +0000 (11:29 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 30 Aug 2016 08:37:25 +0000 (11:37 +0300)
commit9986908d38736ad6fde46c9b8f651d6c82da07b9
treea87e019a2c2e18c926a2cb01426fe0abfcd0f307
parent763e6366f3700e2f34a94e71bfec67dea7e37b68
video: ARM CLCD: fix up Integrator support

We need to mask all registers of the Integrator/CP core module
control register, and actually write the calculated value to the
control register, not the mask.

Tested on the Integrator/CP with RGB5551 VGA and works like a
charm after this patch.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/amba-clcd-versatile.c