diff options
Diffstat (limited to 'arch/arm/mach-pxa/sharpsl_pm.c')
-rw-r--r-- | arch/arm/mach-pxa/sharpsl_pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/sharpsl_pm.c b/arch/arm/mach-pxa/sharpsl_pm.c index 2546c066cd6e..629e05d1196e 100644 --- a/arch/arm/mach-pxa/sharpsl_pm.c +++ b/arch/arm/mach-pxa/sharpsl_pm.c | |||
@@ -678,8 +678,8 @@ static int corgi_enter_suspend(unsigned long alarm_time, unsigned int alarm_enab | |||
678 | dev_dbg(sharpsl_pm.dev, "User triggered wakeup in offline charger.\n"); | 678 | dev_dbg(sharpsl_pm.dev, "User triggered wakeup in offline charger.\n"); |
679 | } | 679 | } |
680 | 680 | ||
681 | if ((!sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_LOCK)) || (sharpsl_fatal_check() < 0) ) | 681 | if ((!sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_LOCK)) || |
682 | { | 682 | (!sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_FATAL))) { |
683 | dev_err(sharpsl_pm.dev, "Fatal condition. Suspend.\n"); | 683 | dev_err(sharpsl_pm.dev, "Fatal condition. Suspend.\n"); |
684 | corgi_goto_sleep(alarm_time, alarm_enable, state); | 684 | corgi_goto_sleep(alarm_time, alarm_enable, state); |
685 | return 1; | 685 | return 1; |