aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/corgi-default-brightness.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/corgi-default-brightness.patch')
-rw-r--r--recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/corgi-default-brightness.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/corgi-default-brightness.patch b/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/corgi-default-brightness.patch
new file mode 100644
index 0000000000..97070991c6
--- /dev/null
+++ b/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/corgi-default-brightness.patch
@@ -0,0 +1,19 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux/drivers/video/corgi_backlight.c~corgi-default-brightness
++++ linux/drivers/video/corgi_backlight.c
+@@ -67,11 +67,7 @@
+ static int is_corgibl_pm = 0;
+
+ #define CORGI_LIGHT_SETTING 7 // range setting : 0(OFF) dim 1 2 3 4 5(MAX)
+-#if defined(CONFIG_ARCH_PXA_SPITZ)
+ #define CORGI_LIGHT_DEFAULT 1
+-#else
+-#define CORGI_LIGHT_DEFAULT 6
+-#endif
+ static int is_corgibl_blank = 0;
+ int counter_step_contrast = CORGI_LIGHT_DEFAULT;
+ static corgibl_limit = CORGI_LIGHT_SETTING - 1;