Skip to content

Commit

Permalink
Merge branch 'pm-domains' into pm-qos
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeljw committed Nov 8, 2017
2 parents 20f97ca + 704d2ce commit 31f1823
Show file tree
Hide file tree
Showing 6 changed files with 223 additions and 121 deletions.
8 changes: 1 addition & 7 deletions arch/arm/mach-shmobile/pm-rmobile.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,12 @@ static int rmobile_pd_power_up(struct generic_pm_domain *genpd)
return __rmobile_pd_power_up(to_rmobile_pd(genpd), true);
}

static bool rmobile_pd_active_wakeup(struct device *dev)
{
return true;
}

static void rmobile_init_pm_domain(struct rmobile_pm_domain *rmobile_pd)
{
struct generic_pm_domain *genpd = &rmobile_pd->genpd;
struct dev_power_governor *gov = rmobile_pd->gov;

genpd->flags |= GENPD_FLAG_PM_CLK;
genpd->dev_ops.active_wakeup = rmobile_pd_active_wakeup;
genpd->flags |= GENPD_FLAG_PM_CLK | GENPD_FLAG_ACTIVE_WAKEUP;
genpd->power_off = rmobile_pd_power_down;
genpd->power_on = rmobile_pd_power_up;
genpd->attach_dev = cpg_mstp_attach_dev;
Expand Down
Loading

0 comments on commit 31f1823

Please sign in to comment.