diff options
Diffstat (limited to 'arch/arm/mach-sa1100/pm.c')
| -rw-r--r-- | arch/arm/mach-sa1100/pm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-sa1100/pm.c b/arch/arm/mach-sa1100/pm.c index 786c8534231f..b0837113b2aa 100644 --- a/arch/arm/mach-sa1100/pm.c +++ b/arch/arm/mach-sa1100/pm.c | |||
| @@ -59,9 +59,6 @@ static int sa11x0_pm_enter(suspend_state_t state) | |||
| 59 | unsigned long gpio, sleep_save[SLEEP_SAVE_SIZE]; | 59 | unsigned long gpio, sleep_save[SLEEP_SAVE_SIZE]; |
| 60 | struct timespec delta, rtc; | 60 | struct timespec delta, rtc; |
| 61 | 61 | ||
| 62 | if (state != PM_SUSPEND_MEM) | ||
| 63 | return -EINVAL; | ||
| 64 | |||
| 65 | /* preserve current time */ | 62 | /* preserve current time */ |
| 66 | rtc.tv_sec = RCNR; | 63 | rtc.tv_sec = RCNR; |
| 67 | rtc.tv_nsec = 0; | 64 | rtc.tv_nsec = 0; |
| @@ -134,11 +131,7 @@ unsigned long sleep_phys_sp(void *sp) | |||
| 134 | return virt_to_phys(sp); | 131 | return virt_to_phys(sp); |
| 135 | } | 132 | } |
| 136 | 133 | ||
| 137 | /* | ||
| 138 | * Set to PM_DISK_FIRMWARE so we can quickly veto suspend-to-disk. | ||
| 139 | */ | ||
| 140 | static struct pm_ops sa11x0_pm_ops = { | 134 | static struct pm_ops sa11x0_pm_ops = { |
| 141 | .pm_disk_mode = PM_DISK_FIRMWARE, | ||
| 142 | .enter = sa11x0_pm_enter, | 135 | .enter = sa11x0_pm_enter, |
| 143 | }; | 136 | }; |
| 144 | 137 | ||
