ARM: ICST: provide definitions for max/min VCO frequencies

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King
2010-01-16 18:08:47 +00:00
parent 643761ac43
commit 4de2edbd15
9 changed files with 23 additions and 8 deletions

View File

@@ -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));

View File

@@ -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));