summaryrefslogtreecommitdiffstats
path: root/arch/arm/common/icst525.c
diff options
context:
space:
mode:
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 c1d22b7c476..da58965da31 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)
* f must be between 10MHz and
* 320MHz (5V) or 200MHz (3V)
*/
- if (f > ICST525_VCO_MIN && f <= p->vco_max)
+ if (f > p->vco_min && f <= p->vco_max)
break;
} while (i < ARRAY_SIZE(idx2s));