diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-01-16 13:08:47 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-02 04:35:30 -0400 |
commit | 4de2edbd15ff70c77e1d018611d06f7801fc2b72 (patch) | |
tree | 576899cd3a6492bb01d8326851ee63e1ea58fc0a /arch/arm/common/icst307.c | |
parent | 643761ac43dfe4bea1195e966fc65a9403cdcb9f (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/icst307.c')
-rw-r--r-- | arch/arm/common/icst307.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/common/icst307.c b/arch/arm/common/icst307.c index f78f5b5880c2..f6063c95e256 100644 --- a/arch/arm/common/icst307.c +++ b/arch/arm/common/icst307.c | |||
@@ -53,7 +53,7 @@ icst307_khz_to_vco(const struct icst_params *p, unsigned long freq) | |||
53 | /* | 53 | /* |
54 | * f must be between 6MHz and 200MHz (3.3 or 5V) | 54 | * f must be between 6MHz and 200MHz (3.3 or 5V) |
55 | */ | 55 | */ |
56 | if (f > 6000 && f <= p->vco_max) | 56 | if (f > ICST307_VCO_MIN && f <= p->vco_max) |
57 | break; | 57 | break; |
58 | } while (i < ARRAY_SIZE(idx2s)); | 58 | } while (i < ARRAY_SIZE(idx2s)); |
59 | 59 | ||