diff options
author | Pavel Machek <pavel@ucw.cz> | 2009-06-11 17:25:09 +0200 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-06-11 17:25:09 +0200 |
commit | 51cdd9289d2e0d83eb32ed6d7a42596b02bf924e (patch) | |
tree | c133ea6b4e5b0c61234c742ebcad03a8dd957ff6 /arch/arm/mach-pxa/sharpsl_pm.c | |
parent | [ARM] pxa/sharpsl_pm: cleanup of gpio-related code. (diff) | |
download | linux-51cdd9289d2e0d83eb32ed6d7a42596b02bf924e.tar.xz linux-51cdd9289d2e0d83eb32ed6d7a42596b02bf924e.zip |
[ARM] pxa/sharpsl_pm: zaurus needs generic pxa suspend/resume routines
For suspend/resume to work, spitz needs pxa_pm_suspend/resume to be
called. Otherwise PSPR is not set properly, and system will die during
resume.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/sharpsl_pm.c')
-rw-r--r-- | arch/arm/mach-pxa/sharpsl_pm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/sharpsl_pm.c b/arch/arm/mach-pxa/sharpsl_pm.c index dfac7b9a7352..2546c066cd6e 100644 --- a/arch/arm/mach-pxa/sharpsl_pm.c +++ b/arch/arm/mach-pxa/sharpsl_pm.c @@ -892,6 +892,8 @@ static void sharpsl_apm_get_power_status(struct apm_power_info *info) #ifdef CONFIG_PM static struct platform_suspend_ops sharpsl_pm_ops = { + .prepare = pxa_pm_prepare, + .finish = pxa_pm_finish, .enter = corgi_pxa_pm_enter, .valid = suspend_valid_only_mem, }; |