diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-01-16 14:49:39 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-02 04:35:31 -0400 |
commit | e73a46a3d3df22b379d8adcb59999eafea1d60d5 (patch) | |
tree | 20253a507d838d0acc180776ba5e7737111e78df /arch/arm/common | |
parent | 64fceb1dcd1aa6a9f2e53cf8830b38bb007b375b (diff) |
ARM: ICST: move minimum VCO frequency to icst_params
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common')
-rw-r--r-- | arch/arm/common/icst307.c | 2 | ||||
-rw-r--r-- | arch/arm/common/icst525.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/common/icst307.c b/arch/arm/common/icst307.c index 66c69e597b70..312485fab4a6 100644 --- a/arch/arm/common/icst307.c +++ b/arch/arm/common/icst307.c | |||
@@ -53,7 +53,7 @@ icst307_hz_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 > ICST307_VCO_MIN && f <= p->vco_max) | 56 | if (f > p->vco_min && f <= p->vco_max) |
57 | break; | 57 | break; |
58 | } while (i < ARRAY_SIZE(idx2s)); | 58 | } while (i < ARRAY_SIZE(idx2s)); |
59 | 59 | ||
diff --git a/arch/arm/common/icst525.c b/arch/arm/common/icst525.c index c1d22b7c4763..da58965da311 100644 --- a/arch/arm/common/icst525.c +++ b/arch/arm/common/icst525.c | |||
@@ -51,7 +51,7 @@ icst525_hz_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 > ICST525_VCO_MIN && f <= p->vco_max) | 54 | if (f > p->vco_min && f <= p->vco_max) |
55 | break; | 55 | break; |
56 | } while (i < ARRAY_SIZE(idx2s)); | 56 | } while (i < ARRAY_SIZE(idx2s)); |
57 | 57 | ||