Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36655
b: refs/heads/master
c: 576b3ef
h: refs/heads/master
i:
  36653: 5bd7ed9
  36651: a9833be
  36647: 680dc43
  36639: f0ad9c2
v: v3
  • Loading branch information
Dirk Opfer authored and Russell King committed Sep 27, 2006
1 parent 2a65c89 commit 6355b9f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a2025e7f73ae5eab0a25dad88c60aba67e3ae690
refs/heads/master: 576b3ef2495c732a56509febd5de5144f3ebccf6
4 changes: 4 additions & 0 deletions trunk/arch/arm/common/sharpsl_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#define SHARPSL_CHARGE_FINISH_TIME (msecs_to_jiffies(10*60*1000)) /* 10 min */
#define SHARPSL_BATCHK_TIME (msecs_to_jiffies(15*1000)) /* 15 sec */
#define SHARPSL_BATCHK_TIME_SUSPEND (60*10) /* 10 min */

#define SHARPSL_WAIT_CO_TIME 15 /* 15 sec */
#define SHARPSL_WAIT_DISCHARGE_ON 100 /* 100 msec */
#define SHARPSL_CHECK_BATTERY_WAIT_TIME_TEMP 10 /* 10 msec */
Expand Down Expand Up @@ -575,6 +576,9 @@ static int corgi_pxa_pm_enter(suspend_state_t state)
while (corgi_enter_suspend(alarm_time,alarm_status,state))
{}

if (sharpsl_pm.machinfo->earlyresume)
sharpsl_pm.machinfo->earlyresume();

dev_dbg(sharpsl_pm.dev, "SharpSL resuming...\n");

return 0;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-arm/hardware/sharpsl_pm.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ struct sharpsl_charger_machinfo {
void (*measure_temp)(int);
void (*presuspend)(void);
void (*postsuspend)(void);
void (*earlyresume)(void);
unsigned long (*read_devdata)(int);
#define SHARPSL_BATT_VOLT 1
#define SHARPSL_BATT_TEMP 2
Expand Down

0 comments on commit 6355b9f

Please sign in to comment.