diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-osiris.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-osiris.c b/arch/arm/mach-s3c2440/mach-osiris.c index be5377f128c4..c326983f4a8f 100644 --- a/arch/arm/mach-s3c2440/mach-osiris.c +++ b/arch/arm/mach-s3c2440/mach-osiris.c | |||
@@ -287,6 +287,10 @@ static int osiris_pm_suspend(struct sys_device *sd, pm_message_t state) | |||
287 | 287 | ||
288 | __raw_writeb(tmp, OSIRIS_VA_CTRL0); | 288 | __raw_writeb(tmp, OSIRIS_VA_CTRL0); |
289 | 289 | ||
290 | /* ensure that an nRESET is not generated on resume. */ | ||
291 | s3c2410_gpio_setpin(S3C2410_GPA21, 1); | ||
292 | s3c2410_gpio_cfgpin(S3C2410_GPA21, S3C2410_GPA21_OUT); | ||
293 | |||
290 | return 0; | 294 | return 0; |
291 | } | 295 | } |
292 | 296 | ||
@@ -297,6 +301,8 @@ static int osiris_pm_resume(struct sys_device *sd) | |||
297 | 301 | ||
298 | __raw_writeb(pm_osiris_ctrl0, OSIRIS_VA_CTRL0); | 302 | __raw_writeb(pm_osiris_ctrl0, OSIRIS_VA_CTRL0); |
299 | 303 | ||
304 | s3c2410_gpio_cfgpin(S3C2410_GPA21, S3C2410_GPA21_nRSTOUT); | ||
305 | |||
300 | return 0; | 306 | return 0; |
301 | } | 307 | } |
302 | 308 | ||