summaryrefslogtreecommitdiff
path: root/arch/arm/common
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/common')
-rw-r--r--arch/arm/common/icst307.c2
-rw-r--r--arch/arm/common/icst525.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/common/icst307.c b/arch/arm/common/icst307.c
index f78f5b5..f6063c9 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)
/*
* f must be between 6MHz and 200MHz (3.3 or 5V)
*/
- if (f > 6000 && f <= p->vco_max)
+ if (f > ICST307_VCO_MIN && f <= p->vco_max)
break;
} while (i < ARRAY_SIZE(idx2s));
diff --git a/arch/arm/common/icst525.c b/arch/arm/common/icst525.c
index eadf983..34dc2e1 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)
* f must be between 10MHz and
* 320MHz (5V) or 200MHz (3V)
*/
- if (f > 10000 && f <= p->vco_max)
+ if (f > ICST525_VCO_MIN && f <= p->vco_max)
break;
} while (i < ARRAY_SIZE(idx2s));