]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitf36fdacc5fcdca7b0c0d89f031fcdc89717e0be3
tree4644f1897b79f3e06c8ddb059bb6ee5c15036b1f
parentc3b46c73264b03000d1e18b22f5caf63332547c9
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: a29da136de34 ("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