aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/plat/clock.h
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2011-07-09 19:14:46 -0600
committerPaul Walmsley <paul@pwsan.com>2011-07-09 19:14:46 -0600
commit628479a8ea5d32ef26ba0b4eb26f8d6712a574ec (patch)
tree81e5f0b23bb6d880f7aa8cfa2e77475e7a71622a /arch/arm/plat-omap/include/plat/clock.h
parent7ecd4228b48192890220e1fd1b39c8bd2988aa80 (diff)
OMAP4: clock data: Fix max mult and div for USB DPLL
The DPLL USB can generate higher speed (x2) than the regular ones. The max multiplication value is then twice the previous value. Fix both max_mult and max_div with that correct values. Change the max_div variable type to u16 to allow storing up to 256. Replace as well the define with the value to avoid unneeded indirection and provide a better readability. Remove the defines that become useless. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Paul Walmsley <paul@pwsan.com> Cc: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/clock.h')
-rw-r--r--arch/arm/plat-omap/include/plat/clock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/clock.h b/arch/arm/plat-omap/include/plat/clock.h
index 006e599c661..f57e0649ab3 100644
--- a/arch/arm/plat-omap/include/plat/clock.h
+++ b/arch/arm/plat-omap/include/plat/clock.h
@@ -152,7 +152,7 @@ struct dpll_data {
u16 max_multiplier;
u8 last_rounded_n;
u8 min_divider;
- u8 max_divider;
+ u16 max_divider;
u8 modes;
#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4)
void __iomem *autoidle_reg;