* [PATCH 3/4] PM / devfreq: Consider hibernation in pm notifier
@ 2013-11-19 13:30 Jonghwan Choi
2013-11-20 9:45 ` MyungJoo Ham
0 siblings, 1 reply; 2+ messages in thread
From: Jonghwan Choi @ 2013-11-19 13:30 UTC (permalink / raw)
To: Rafael J. Wysocki, MyungJoo Ham, Kukjin Kim
Cc: linux-kernel, linux-samsung-soc, Jonghwan Choi
Frequency lock should be considered in suspend/hibernation.
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
---
drivers/devfreq/exynos/exynos4_bus.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/devfreq/exynos/exynos4_bus.c b/drivers/devfreq/exynos/exynos4_bus.c
index cede6f7..dd6947e 100644
--- a/drivers/devfreq/exynos/exynos4_bus.c
+++ b/drivers/devfreq/exynos/exynos4_bus.c
@@ -962,6 +962,7 @@ static int exynos4_busfreq_pm_notifier_event(struct notifier_block *this,
int err = 0;
switch (event) {
+ case PM_HIBERNATION_PREPARE:
case PM_SUSPEND_PREPARE:
/* Set Fastest and Deactivate DVFS */
mutex_lock(&data->lock);
@@ -1005,6 +1006,7 @@ unlock:
if (err)
return err;
return NOTIFY_OK;
+ case PM_POST_HIBERNATION:
case PM_POST_RESTORE:
case PM_POST_SUSPEND:
/* Reactivate */
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 3/4] PM / devfreq: Consider hibernation in pm notifier
2013-11-19 13:30 [PATCH 3/4] PM / devfreq: Consider hibernation in pm notifier Jonghwan Choi
@ 2013-11-20 9:45 ` MyungJoo Ham
0 siblings, 0 replies; 2+ messages in thread
From: MyungJoo Ham @ 2013-11-20 9:45 UTC (permalink / raw)
To: Jonghwan Choi
Cc: Rafael J. Wysocki, Kukjin Kim, LKML, Linux Samsung SoC, Jonghwan Choi
On Tue, Nov 19, 2013 at 10:30 PM, Jonghwan Choi <jhbird.choi@gmail.com> wrote:
> Frequency lock should be considered in suspend/hibernation.
>
> Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Applied in "driver-update" branch.
Do you want this to be synchronously merged with others (1/4, 2/4) or
is it ok to be done asynchronously?
Cheers,
MyungJoo.
> ---
> drivers/devfreq/exynos/exynos4_bus.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/devfreq/exynos/exynos4_bus.c b/drivers/devfreq/exynos/exynos4_bus.c
> index cede6f7..dd6947e 100644
> --- a/drivers/devfreq/exynos/exynos4_bus.c
> +++ b/drivers/devfreq/exynos/exynos4_bus.c
> @@ -962,6 +962,7 @@ static int exynos4_busfreq_pm_notifier_event(struct notifier_block *this,
> int err = 0;
>
> switch (event) {
> + case PM_HIBERNATION_PREPARE:
> case PM_SUSPEND_PREPARE:
> /* Set Fastest and Deactivate DVFS */
> mutex_lock(&data->lock);
> @@ -1005,6 +1006,7 @@ unlock:
> if (err)
> return err;
> return NOTIFY_OK;
> + case PM_POST_HIBERNATION:
> case PM_POST_RESTORE:
> case PM_POST_SUSPEND:
> /* Reactivate */
> --
> 1.8.1.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
MyungJoo Ham, Ph.D.
System S/W Lab, S/W Center, Samsung Electronics
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-20 9:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-19 13:30 [PATCH 3/4] PM / devfreq: Consider hibernation in pm notifier Jonghwan Choi
2013-11-20 9:45 ` MyungJoo Ham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).