diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:09:47 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:47 +0000 |
commit | f8d84454949a5669abccf0b9c524f46380050c7f (patch) | |
tree | d17165b29c849c396669cdd3b1369d9e2707679c /arch/arm/mach-s3c2440 | |
parent | b4ba78cb85c1305ffe9f95100a578679437497f0 (diff) |
fix-pcf50633-suspend-resume-onehit-i2c-other-meddling.patch
- speed up suspend and resume by using one hit i2c bulk transactions
- don't bother storing int mask set on suspend, the default one is
what we use anyway
- put stack_trace() on pcf50633 low level access that fire if we
try to touch them before we resumed
- cosmetic source cleanup
- reduces resume time for pcf50633 from 450ms to 255ms
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index 9ba1036494d..22de1819475 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -477,24 +477,11 @@ static struct pcf50633_platform_data gta02_pcf_pdata = { .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, + [0] = 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 + [2] = PCF50633_INT3_ONKEY1S }, .rails = { [PCF50633_REGULATOR_AUTO] = { |