projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
004f47b
)
ARM: integrator_cp: Set LCD{0,1} enable lines when turning on CLCD
author
Jonathan Austin
<
[email protected]
>
Thu, 29 Aug 2013 17:41:11 +0000
(18:41 +0100)
committer
Olof Johansson
<
[email protected]
>
Thu, 14 Nov 2013 18:44:30 +0000
(10:44 -0800)
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 <
[email protected]
>
Acked-by: Linus Walleij <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Olof Johansson <
[email protected]
>
arch/arm/mach-integrator/integrator_cp.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-integrator/integrator_cp.c
b/arch/arm/mach-integrator/integrator_cp.c
index 1df6e7602cadb75dac78a961352624b8f855d73f..4fc0a195de0103e865b4827af89dd101f6336241 100644
(file)
--- 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))