diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-07-14 14:59:07 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-07-14 14:59:07 -0400 |
commit | 0bc5b2debb832191a42baea7ff59d2ca6ce9f7d5 (patch) | |
tree | cb7f1f7a20fb9a9d2483714a8e9f0a3a84862245 /drivers/base/power/domain.c | |
parent | 796204142a98b6e0e71b494e808d1b6ee62cc75f (diff) |
ARM / shmobile: Use genpd_queue_power_off_work()
Make pd_power_down_a3rv() use genpd_queue_power_off_work() to queue
up the powering off of the A4LC domain to avoid queuing it up when
it is pending.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'drivers/base/power/domain.c')
-rw-r--r-- | drivers/base/power/domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index c2c537de22b6..00ed4f32a4de 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c | |||
@@ -222,7 +222,7 @@ static bool genpd_abort_poweroff(struct generic_pm_domain *genpd) | |||
222 | * Queue up the execution of pm_genpd_poweroff() unless it's already been done | 222 | * Queue up the execution of pm_genpd_poweroff() unless it's already been done |
223 | * before. | 223 | * before. |
224 | */ | 224 | */ |
225 | static void genpd_queue_power_off_work(struct generic_pm_domain *genpd) | 225 | void genpd_queue_power_off_work(struct generic_pm_domain *genpd) |
226 | { | 226 | { |
227 | if (!work_pending(&genpd->power_off_work)) | 227 | if (!work_pending(&genpd->power_off_work)) |
228 | queue_work(pm_wq, &genpd->power_off_work); | 228 | queue_work(pm_wq, &genpd->power_off_work); |