summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openmoko-devel/del-hardcoded-led-behaviour.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-openmoko-devel/del-hardcoded-led-behaviour.patch')
-rw-r--r--packages/linux/linux-openmoko-devel/del-hardcoded-led-behaviour.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/linux/linux-openmoko-devel/del-hardcoded-led-behaviour.patch b/packages/linux/linux-openmoko-devel/del-hardcoded-led-behaviour.patch
new file mode 100644
index 0000000000..b2d091adbe
--- /dev/null
+++ b/packages/linux/linux-openmoko-devel/del-hardcoded-led-behaviour.patch
@@ -0,0 +1,16 @@
+Index: git/arch/arm/mach-s3c2440/mach-gta02.c
+===================================================================
+--- git.orig/arch/arm/mach-s3c2440/mach-gta02.c
++++ git/arch/arm/mach-s3c2440/mach-gta02.c
+@@ -471,11 +471,9 @@ static int pmu_callback(struct device *d
+ break;
+ case PMU_EVT_CHARGER_IDLE:
+ /* printk(KERN_ERR"PMU_EVT_CHARGER_IDLE\n"); */
+- neo1973_gpb_setpin(GTA02_GPIO_AUX_LED, 0);
+ break;
+ case PMU_EVT_CHARGER_ACTIVE:
+ /* printk(KERN_ERR"PMU_EVT_CHARGER_ACTIVE\n"); */
+- neo1973_gpb_setpin(GTA02_GPIO_AUX_LED, 1);
+ break;
+ default:
+ break;