summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0008-DSS2-Add-function-to-display-object-to-get-the-back.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0008-DSS2-Add-function-to-display-object-to-get-the-back.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0008-DSS2-Add-function-to-display-object-to-get-the-back.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0008-DSS2-Add-function-to-display-object-to-get-the-back.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0008-DSS2-Add-function-to-display-object-to-get-the-back.patch
new file mode 100644
index 0000000000..4c8d432dd5
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0008-DSS2-Add-function-to-display-object-to-get-the-back.patch
@@ -0,0 +1,39 @@
1From 4741076cae4f4284e1fff9a03f35475b8455af54 Mon Sep 17 00:00:00 2001
2From: Imre Deak <imre.deak@nokia.com>
3Date: Wed, 1 Apr 2009 14:36:39 +0200
4Subject: [PATCH] DSS2: Add function to display object to get the backlight level
5
6This is needed by an upcoming patch that changes the backlight
7initialization to use the backlight level set by the bootloader.
8
9Also add a field for the maximum backlight level.
10
11Signed-off-by: Imre Deak <imre.deak@nokia.com>
12---
13 arch/arm/plat-omap/include/mach/display.h | 3 +++
14 1 files changed, 3 insertions(+), 0 deletions(-)
15
16diff --git a/arch/arm/plat-omap/include/mach/display.h b/arch/arm/plat-omap/include/mach/display.h
17index 6288353..6b702c7 100644
18--- a/arch/arm/plat-omap/include/mach/display.h
19+++ b/arch/arm/plat-omap/include/mach/display.h
20@@ -211,6 +211,8 @@ struct omap_dss_display_config {
21 int panel_reset_gpio;
22 int ctrl_reset_gpio;
23
24+ int max_backlight_level;
25+
26 const char *name; /* for debug */
27 const char *ctrl_name;
28 const char *panel_name;
29@@ -225,6 +227,7 @@ struct omap_dss_display_config {
30 void (*ctrl_disable)(struct omap_display *display);
31 int (*set_backlight)(struct omap_display *display,
32 int level);
33+ int (*get_backlight)(struct omap_display *display);
34 };
35
36 struct device;
37--
381.5.6.5
39