summaryrefslogtreecommitdiffstats
path: root/arch/arm/common/icst307.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/common/icst307.c')
-rw-r--r--arch/arm/common/icst307.c2
1 files changed, 1 insertions, 1 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)
/*
* f must be between 6MHz and 200MHz (3.3 or 5V)
*/
- if (f > ICST307_VCO_MIN && f <= p->vco_max)
+ if (f > p->vco_min && f <= p->vco_max)
break;
} while (i < ARRAY_SIZE(idx2s));