From: Jonathan Austin Date: Thu, 29 Aug 2013 17:41:11 +0000 (+0100) Subject: ARM: integrator_cp: Set LCD{0,1} enable lines when turning on CLCD X-Git-Tag: v3.13-rc1~55^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30aeadd44deea3f3b0df45b9a70ee0fd5f8d6dc2;p=profile%2Fivi%2Fkernel-x86-ivi.git ARM: integrator_cp: Set LCD{0,1} enable lines when turning on CLCD 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 Acked-by: Linus Walleij Cc: stable@vger.kernel.org Signed-off-by: Olof Johansson --- diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c index 1df6e76..4fc0a19 100644 --- a/arch/arm/mach-integrator/integrator_cp.c +++ b/arch/arm/mach-integrator/integrator_cp.c @@ -198,7 +198,8 @@ static struct mmci_platform_data mmc_data = { 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))