diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:09:43 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:43 +0000 |
commit | 433ad9e322020b611165198cf951ffb31160bb8e (patch) | |
tree | 2c9ec520cb45d818efd7fef714ea263e48dc7e98 /arch | |
parent | f2934eead77af67c0294989fbee252f3b41e3f82 (diff) |
fix-reduce-wake-reasons-in-pcf50633.patch
Currently we are willing to wake from sleep from
pcf50633 interrupts we don't actually do anything about
even when we wake (somewhat puzzled).
Let's disable some of these wake sources.
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index 90b62c1d0d1..601f7bc9591 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -462,6 +462,26 @@ static struct pcf50633_platform_data gta02_pcf_pdata = { .r_fix_batt = 10000, .r_fix_batt_par = 10000, .r_sense_milli = 220, + .resumers = { + [0] = /* PCF50633_INT1_ADPINS | */ + /* PCF50633_INT1_ADPREM | */ + PCF50633_INT1_USBINS | + PCF50633_INT1_USBREM | + PCF50633_INT1_ALARM, + [1] = PCF50633_INT2_ONKEYF, + [2] = /* PCF50633_INT3_BATFULL | */ + /* PCF50633_INT3_CHGHALT | */ + /* PCF50633_INT3_THLIMON | */ + /* PCF50633_INT3_THLIMOFF | */ + /* PCF50633_INT3_USBLIMON | */ + /* PCF50633_INT3_USBLIMOFF | */ + PCF50633_INT3_ONKEY1S , + [3] = 0 /* | + PCF50633_INT4_LOWSYS | */ + /* PCF50633_INT4_LOWBAT | */ + /* PCF50633_INT4_HIGHTMP */, + [4] = 0 + }, .rails = { [PCF50633_REGULATOR_AUTO] = { .name = "io_3v3", |