diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-09-22 12:00:35 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-09-22 12:00:35 -0400 |
commit | 9fe0624e1b9faa43d1f6136c70409c4716fb73c9 (patch) | |
tree | ec734f2da98e41c780a251e1e21adaa726e5bc3a /arch/arm/mach-omap2/dpll3xxx.c | |
parent | 5dbd6535d5bcb9d1899dd27d209ca651431df66b (diff) | |
parent | 11964f53eb4d9ce59a058be9999d9cfcb1ced878 (diff) |
Merge tag 'omap-devel-am33xx-for-v3.7' into test_v3.6-rc6_cff3.7_odaf3.7
From Paul Walmsley <paul@pwsan.com>:
AM33xx hwmod data and miscellaneous clock and hwmod fixes. AM33xx
should now boot on mainline after this is applied, according to
Vaibhav.
Diffstat (limited to 'arch/arm/mach-omap2/dpll3xxx.c')
-rw-r--r-- | arch/arm/mach-omap2/dpll3xxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/dpll3xxx.c b/arch/arm/mach-omap2/dpll3xxx.c index d8318dc5ee91..f48043dbac8a 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) |