]> 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)
commited4935e3f8db4e644e44902379c3bc6fdc26a57c
tree4644f1897b79f3e06c8ddb059bb6ee5c15036b1f
parent29117ef53592e44617a5e92e9234f15273b7ba82
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: 43c639172fc7 ("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