Skip to content

Commit

Permalink
Merge branch 'for-v4.17/power_domains' into for-v4.17/next
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylwester Nawrocki committed Mar 6, 2018
2 parents 1d5013f + af8d30a commit 9fb1636
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/soc/samsung/pm_domains.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ static __init const char *exynos_get_domain_name(struct device_node *node)
return kstrdup_const(name, GFP_KERNEL);
}

static const char *soc_force_no_clk[] = {
};

static __init int exynos4_pm_init_power_domain(void)
{
struct device_node *np;
Expand Down Expand Up @@ -183,6 +186,11 @@ static __init int exynos4_pm_init_power_domain(void)
pd->pd.power_on = exynos_pd_power_on;
pd->local_pwr_cfg = pm_domain_cfg->local_pwr_cfg;

for (i = 0; i < ARRAY_SIZE(soc_force_no_clk); i++)
if (of_find_compatible_node(NULL, NULL,
soc_force_no_clk[i]))
goto no_clk;

for (i = 0; i < MAX_CLK_PER_DOMAIN; i++) {
char clk_name[8];

Expand Down

0 comments on commit 9fb1636

Please sign in to comment.