summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/mach-exynos/pm_domains.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/mach-exynos/pm_domains.c')
-rw-r--r--kernel/arch/arm/mach-exynos/pm_domains.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/arm/mach-exynos/pm_domains.c b/kernel/arch/arm/mach-exynos/pm_domains.c
index 7c21760f5..875a2bab6 100644
--- a/kernel/arch/arm/mach-exynos/pm_domains.c
+++ b/kernel/arch/arm/mach-exynos/pm_domains.c
@@ -92,7 +92,7 @@ static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on)
if (IS_ERR(pd->clk[i]))
break;
- if (IS_ERR(pd->clk[i]))
+ if (IS_ERR(pd->pclk[i]))
continue; /* Skip on first power up */
if (clk_set_parent(pd->clk[i], pd->pclk[i]))
pr_err("%s: error setting parent to clock%d\n",