diff options
author | Benoit Cousson <b-cousson@ti.com> | 2011-07-09 21:14:46 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-07-09 21:14:46 -0400 |
commit | 628479a8ea5d32ef26ba0b4eb26f8d6712a574ec (patch) | |
tree | 81e5f0b23bb6d880f7aa8cfa2e77475e7a71622a /arch/arm/plat-omap | |
parent | 7ecd4228b48192890220e1fd1b39c8bd2988aa80 (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')
-rw-r--r-- | arch/arm/plat-omap/include/plat/clock.h | 2 |
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 006e599c6613..f57e0649ab30 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 { | |||
152 | u16 max_multiplier; | 152 | u16 max_multiplier; |
153 | u8 last_rounded_n; | 153 | u8 last_rounded_n; |
154 | u8 min_divider; | 154 | u8 min_divider; |
155 | u8 max_divider; | 155 | u16 max_divider; |
156 | u8 modes; | 156 | u8 modes; |
157 | #if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4) | 157 | #if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4) |
158 | void __iomem *autoidle_reg; | 158 | void __iomem *autoidle_reg; |