mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
add support for target 3c24xx (more known as Openmoko GTA02 "Freerunner") and merge it with the openmoko-target and the work Michael Buesch <mb> did
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13609 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
From a0852d1ca05076a7f5129b57248fc72ea719ff2b Mon Sep 17 00:00:00 2001
|
||||
From: Mike Wester <mwester@dis.net>
|
||||
Date: Fri, 25 Jul 2008 23:06:06 +0100
|
||||
Subject: [PATCH] fix-gta01-pmu-irq-edge-lost-on-resume.patch
|
||||
|
||||
GTA01 -only
|
||||
|
||||
Restore power button functionality after resume operation
|
||||
|
||||
Per Werner's suggestion, run the PMU interrupt handler immediately after resume
|
||||
to clear/handle any pending interrupts from that device. This appears to
|
||||
resolve the dead-powerbutton-after-resume problem. This is not well-tested;
|
||||
need feedback to see if there are any side-effects or other problems.
|
||||
|
||||
From BZ 1313
|
||||
|
||||
Signed-off-by: Mike Wester <mwester@dis.net>
|
||||
---
|
||||
drivers/i2c/chips/pcf50606.c | 3 +++
|
||||
1 files changed, 3 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/drivers/i2c/chips/pcf50606.c b/drivers/i2c/chips/pcf50606.c
|
||||
index 6f71e6c..aa841e3 100644
|
||||
--- a/drivers/i2c/chips/pcf50606.c
|
||||
+++ b/drivers/i2c/chips/pcf50606.c
|
||||
@@ -1957,6 +1957,9 @@ static int pcf50606_resume(struct device *dev)
|
||||
|
||||
mutex_unlock(&pcf->lock);
|
||||
|
||||
+ /* Hack to fix the gta01 power button problem on resume */
|
||||
+ pcf50606_irq(0, pcf);
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
--
|
||||
1.5.6.3
|
||||
|
||||
Reference in New Issue
Block a user