Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328663
b: refs/heads/master
c: e2e3e4e
h: refs/heads/master
i:
  328661: 3c5a14c
  328659: 6596077
  328655: 8ccc494
v: v3
  • Loading branch information
Rafael J. Wysocki committed Sep 3, 2012
1 parent 2b48530 commit 22cd4b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dbf374142dd7a3c394ec124ebe7339a6c412d9b6
refs/heads/master: e2e3e4e51ebdcd757079bd7ec5dcc9dfb2ebce24
8 changes: 7 additions & 1 deletion trunk/drivers/base/power/domain.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ static int genpd_start_dev(struct generic_pm_domain *genpd, struct device *dev)
start_latency_ns, "start");
}

static int genpd_start_dev_no_timing(struct generic_pm_domain *genpd,
struct device *dev)
{
return GENPD_DEV_CALLBACK(genpd, int, start, dev);
}

static bool genpd_sd_counter_dec(struct generic_pm_domain *genpd)
{
bool ret = false;
Expand Down Expand Up @@ -626,7 +632,7 @@ static int pm_genpd_runtime_resume(struct device *dev)

/* If power.irq_safe, the PM domain is never powered off. */
if (dev->power.irq_safe)
return genpd_start_dev(genpd, dev);
return genpd_start_dev_no_timing(genpd, dev);

mutex_lock(&genpd->lock);
ret = __pm_genpd_poweron(genpd);
Expand Down

0 comments on commit 22cd4b9

Please sign in to comment.