]> git.ipfire.org Git - people/ms/linux.git/commitdiff
ARM: integrator_cp: Set LCD{0,1} enable lines when turning on CLCD
authorJonathan Austin <jonathan.austin@arm.com>
Thu, 29 Aug 2013 17:41:11 +0000 (18:41 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 3 Jan 2014 04:33:21 +0000 (04:33 +0000)
commit 30aeadd44deea3f3b0df45b9a70ee0fd5f8d6dc2 upstream.

This turns on the internal integrator LCD display(s). It seems that the code
to do this got lost in refactoring of the CLCD driver.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/arm/mach-integrator/integrator_cp.c

index 5de49c33e4d4eb70129614b7aeff6fa4afaa7ad6..892d0d647eb43af95b693b5294fbdad2aee298ca 100644 (file)
@@ -384,7 +384,8 @@ static struct amba_device aaci_device = {
 static void cp_clcd_enable(struct clcd_fb *fb)
 {
        struct fb_var_screeninfo *var = &fb->fb.var;
-       u32 val = CM_CTRL_STATIC1 | CM_CTRL_STATIC2;
+       u32 val = CM_CTRL_STATIC1 | CM_CTRL_STATIC2
+                       | CM_CTRL_LCDEN0 | CM_CTRL_LCDEN1;
 
        if (var->bits_per_pixel <= 8 ||
            (var->bits_per_pixel == 16 && var->green.length == 5))