diff options
Diffstat (limited to 'arch/arm/mach-exynos/suspend.c')
| -rw-r--r-- | arch/arm/mach-exynos/suspend.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c index 3e6aea7f83af..c0b6dccbf7bd 100644 --- a/arch/arm/mach-exynos/suspend.c +++ b/arch/arm/mach-exynos/suspend.c | |||
| @@ -342,6 +342,8 @@ static void exynos_pm_enter_sleep_mode(void) | |||
| 342 | 342 | ||
| 343 | static void exynos_pm_prepare(void) | 343 | static void exynos_pm_prepare(void) |
| 344 | { | 344 | { |
| 345 | exynos_set_delayed_reset_assertion(false); | ||
| 346 | |||
| 345 | /* Set wake-up mask registers */ | 347 | /* Set wake-up mask registers */ |
| 346 | exynos_pm_set_wakeup_mask(); | 348 | exynos_pm_set_wakeup_mask(); |
| 347 | 349 | ||
| @@ -482,6 +484,7 @@ early_wakeup: | |||
| 482 | 484 | ||
| 483 | /* Clear SLEEP mode set in INFORM1 */ | 485 | /* Clear SLEEP mode set in INFORM1 */ |
| 484 | pmu_raw_writel(0x0, S5P_INFORM1); | 486 | pmu_raw_writel(0x0, S5P_INFORM1); |
| 487 | exynos_set_delayed_reset_assertion(true); | ||
| 485 | } | 488 | } |
| 486 | 489 | ||
| 487 | static void exynos3250_pm_resume(void) | 490 | static void exynos3250_pm_resume(void) |
| @@ -723,8 +726,10 @@ void __init exynos_pm_init(void) | |||
| 723 | return; | 726 | return; |
| 724 | } | 727 | } |
| 725 | 728 | ||
| 726 | if (WARN_ON(!of_find_property(np, "interrupt-controller", NULL))) | 729 | if (WARN_ON(!of_find_property(np, "interrupt-controller", NULL))) { |
| 727 | pr_warn("Outdated DT detected, suspend/resume will NOT work\n"); | 730 | pr_warn("Outdated DT detected, suspend/resume will NOT work\n"); |
| 731 | return; | ||
| 732 | } | ||
| 728 | 733 | ||
| 729 | pm_data = (const struct exynos_pm_data *) match->data; | 734 | pm_data = (const struct exynos_pm_data *) match->data; |
| 730 | 735 | ||
