summaryrefslogtreecommitdiff
path: root/meta/packages/linux/linux-2.6.23
diff options
context:
space:
mode:
authorRobert Bradford <rob@openedhand.com>2008-02-21 15:20:17 +0000
committerRobert Bradford <rob@openedhand.com>2008-02-21 15:20:17 +0000
commitee0fb8576f5f32d805776ac1aaf028020e1e9e89 (patch)
tree35a8fcf68c62fb5b70d451ba9e8a13ff2724812e /meta/packages/linux/linux-2.6.23
parent21c0c98d9a7b0d2a0c16f44a493658f03b7432b7 (diff)
downloadopenembedded-core-ee0fb8576f5f32d805776ac1aaf028020e1e9e89.tar.gz
openembedded-core-ee0fb8576f5f32d805776ac1aaf028020e1e9e89.tar.bz2
openembedded-core-ee0fb8576f5f32d805776ac1aaf028020e1e9e89.zip
Add patch to fix crashes caused by udevtrigger on startup.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3843 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux-2.6.23')
-rw-r--r--meta/packages/linux/linux-2.6.23/em-x270/em-x270-battery-sysfs-fix.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-2.6.23/em-x270/em-x270-battery-sysfs-fix.patch b/meta/packages/linux/linux-2.6.23/em-x270/em-x270-battery-sysfs-fix.patch
new file mode 100644
index 0000000000..51ec773e5c
--- /dev/null
+++ b/meta/packages/linux/linux-2.6.23/em-x270/em-x270-battery-sysfs-fix.patch
@@ -0,0 +1,40 @@
+Index: linux-2.6.23/arch/arm/mach-pxa/em-x270-pm.c
+===================================================================
+--- linux-2.6.23.orig/arch/arm/mach-pxa/em-x270-pm.c 2008-02-21 14:30:06.000000000 +0000
++++ linux-2.6.23/arch/arm/mach-pxa/em-x270-pm.c 2008-02-21 14:59:24.000000000 +0000
+@@ -461,6 +461,9 @@
+ else {
+ val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING;
+ }
++ }
++ else {
++ val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING;
+ }
+ }
+ else {
+@@ -547,8 +550,9 @@
+ pr_debug("%s: MODEL = %s\n", __FUNCTION__, val->strval);
+ break;
+ default: break;
++ return -1;
+ }
+-
++
+ return 0;
+ }
+
+Index: linux-2.6.23/drivers/power/em_x270_battery.c
+===================================================================
+--- linux-2.6.23.orig/drivers/power/em_x270_battery.c 2008-02-21 12:21:53.000000000 +0000
++++ linux-2.6.23/drivers/power/em_x270_battery.c 2008-02-21 15:00:51.000000000 +0000
+@@ -418,8 +418,9 @@
+ pr_debug("%s: MODEL = %s\n", __FUNCTION__, val->strval);
+ break;
+ default: break;
++ return -1;
+ }
+-
++
+ return 0;
+ }
+