diff options
-rw-r--r-- | arch/arm/mach-omap2/clkt_dpll.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/dpll3xxx.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/clkt_dpll.c b/arch/arm/mach-omap2/clkt_dpll.c index cd7fd0f91149..05ff99e528c8 100644 --- a/arch/arm/mach-omap2/clkt_dpll.c +++ b/arch/arm/mach-omap2/clkt_dpll.c | |||
@@ -211,7 +211,7 @@ void omap2_init_dpll_parent(struct clk *clk) | |||
211 | if (v == OMAP3XXX_EN_DPLL_LPBYPASS || | 211 | if (v == OMAP3XXX_EN_DPLL_LPBYPASS || |
212 | v == OMAP3XXX_EN_DPLL_FRBYPASS) | 212 | v == OMAP3XXX_EN_DPLL_FRBYPASS) |
213 | clk_reparent(clk, dd->clk_bypass); | 213 | clk_reparent(clk, dd->clk_bypass); |
214 | } else if (cpu_is_omap44xx()) { | 214 | } else if (soc_is_am33xx() || cpu_is_omap44xx()) { |
215 | if (v == OMAP4XXX_EN_DPLL_LPBYPASS || | 215 | if (v == OMAP4XXX_EN_DPLL_LPBYPASS || |
216 | v == OMAP4XXX_EN_DPLL_FRBYPASS || | 216 | v == OMAP4XXX_EN_DPLL_FRBYPASS || |
217 | v == OMAP4XXX_EN_DPLL_MNBYPASS) | 217 | v == OMAP4XXX_EN_DPLL_MNBYPASS) |
@@ -257,7 +257,7 @@ u32 omap2_get_dpll_rate(struct clk *clk) | |||
257 | if (v == OMAP3XXX_EN_DPLL_LPBYPASS || | 257 | if (v == OMAP3XXX_EN_DPLL_LPBYPASS || |
258 | v == OMAP3XXX_EN_DPLL_FRBYPASS) | 258 | v == OMAP3XXX_EN_DPLL_FRBYPASS) |
259 | return dd->clk_bypass->rate; | 259 | return dd->clk_bypass->rate; |
260 | } else if (cpu_is_omap44xx()) { | 260 | } else if (soc_is_am33xx() || cpu_is_omap44xx()) { |
261 | if (v == OMAP4XXX_EN_DPLL_LPBYPASS || | 261 | if (v == OMAP4XXX_EN_DPLL_LPBYPASS || |
262 | v == OMAP4XXX_EN_DPLL_FRBYPASS || | 262 | v == OMAP4XXX_EN_DPLL_FRBYPASS || |
263 | v == OMAP4XXX_EN_DPLL_MNBYPASS) | 263 | v == OMAP4XXX_EN_DPLL_MNBYPASS) |
diff --git a/arch/arm/mach-omap2/dpll3xxx.c b/arch/arm/mach-omap2/dpll3xxx.c index b9c8d2f6a81f..063e1f9b465a 100644 --- a/arch/arm/mach-omap2/dpll3xxx.c +++ b/arch/arm/mach-omap2/dpll3xxx.c | |||
@@ -311,7 +311,7 @@ static int omap3_noncore_dpll_program(struct clk *clk, u16 m, u8 n, u16 freqsel) | |||
311 | * Set jitter correction. No jitter correction for OMAP4 and 3630 | 311 | * Set jitter correction. No jitter correction for OMAP4 and 3630 |
312 | * since freqsel field is no longer present | 312 | * since freqsel field is no longer present |
313 | */ | 313 | */ |
314 | if (!cpu_is_omap44xx() && !cpu_is_omap3630()) { | 314 | if (!soc_is_am33xx() && !cpu_is_omap44xx() && !cpu_is_omap3630()) { |
315 | v = __raw_readl(dd->control_reg); | 315 | v = __raw_readl(dd->control_reg); |
316 | v &= ~dd->freqsel_mask; | 316 | v &= ~dd->freqsel_mask; |
317 | v |= freqsel << __ffs(dd->freqsel_mask); | 317 | v |= freqsel << __ffs(dd->freqsel_mask); |
@@ -471,7 +471,7 @@ int omap3_noncore_dpll_set_rate(struct clk *clk, unsigned long rate) | |||
471 | return -EINVAL; | 471 | return -EINVAL; |
472 | 472 | ||
473 | /* No freqsel on OMAP4 and OMAP3630 */ | 473 | /* No freqsel on OMAP4 and OMAP3630 */ |
474 | if (!cpu_is_omap44xx() && !cpu_is_omap3630()) { | 474 | if (!soc_is_am33xx() && !cpu_is_omap44xx() && !cpu_is_omap3630()) { |
475 | freqsel = _omap3_dpll_compute_freqsel(clk, | 475 | freqsel = _omap3_dpll_compute_freqsel(clk, |
476 | dd->last_rounded_n); | 476 | dd->last_rounded_n); |
477 | if (!freqsel) | 477 | if (!freqsel) |