]> git.baikalelectronics.ru Git - kernel.git/commit
video: ARM CLCD: runtime check for Versatile
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Feb 2016 10:01:38 +0000 (11:01 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Apr 2016 09:08:43 +0000 (12:08 +0300)
commit50838b0e4fdba9ff302eb47e76b73dc1f6438112
tree4644f1897b79f3e06c8ddb059bb6ee5c15036b1f
parent0b2ae9cd6e504d0f6c406655ebb9589e70455aa9
video: ARM CLCD: runtime check for Versatile

The current compile-time check for inversed IENB/CNTL does not
work in multiplatform boots: as soon as versatile is included
in the build, the IENB/CNTL is switched and breaks graphics.
Convert this to a runtime switch.

Cc: stable@vger.kernel.org
Cc: Rob Herring <robh@kernel.org>
Cc: Russell King <linux@arm.linux.org.uk>
Fixes: 596623b350b1 ("ARM: versatile: convert to multi-platform")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/amba-clcd.c