aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/common/icst525.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-01-16 13:08:47 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-02 04:35:30 -0400
commit4de2edbd15ff70c77e1d018611d06f7801fc2b72 (patch)
tree576899cd3a6492bb01d8326851ee63e1ea58fc0a /arch/arm/common/icst525.c
parent643761ac43dfe4bea1195e966fc65a9403cdcb9f (diff)
ARM: ICST: provide definitions for max/min VCO frequencies
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common/icst525.c')
-rw-r--r--arch/arm/common/icst525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/common/icst525.c b/arch/arm/common/icst525.c
index eadf983ee434..34dc2e1b9efc 100644
--- a/arch/arm/common/icst525.c
+++ b/arch/arm/common/icst525.c
@@ -51,7 +51,7 @@ icst525_khz_to_vco(const struct icst_params *p, unsigned long freq)
51 * f must be between 10MHz and 51 * f must be between 10MHz and
52 * 320MHz (5V) or 200MHz (3V) 52 * 320MHz (5V) or 200MHz (3V)
53 */ 53 */
54 if (f > 10000 && f <= p->vco_max) 54 if (f > ICST525_VCO_MIN && f <= p->vco_max)
55 break; 55 break;
56 } while (i < ARRAY_SIZE(idx2s)); 56 } while (i < ARRAY_SIZE(idx2s));
57 57