diff options
Diffstat (limited to 'drivers/media/dvb/bt8xx')
-rw-r--r-- | drivers/media/dvb/bt8xx/dvb-bt8xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/drivers/media/dvb/bt8xx/dvb-bt8xx.c index b1857c19bbd2..78fc469f0f69 100644 --- a/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.c | |||
@@ -215,7 +215,7 @@ static int cx24108_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend | |||
215 | freq = 2150000; /* satellite IF is 950..2150MHz */ | 215 | freq = 2150000; /* satellite IF is 950..2150MHz */ |
216 | 216 | ||
217 | /* decide which VCO to use for the input frequency */ | 217 | /* decide which VCO to use for the input frequency */ |
218 | for(i = 1; (i < ARRAY_SIZE(osci)) && (osci[i] < freq); i++); | 218 | for(i = 1; (i < ARRAY_SIZE(osci) - 1) && (osci[i] < freq); i++); |
219 | printk("cx24108 debug: select vco #%d (f=%d)\n",i,freq); | 219 | printk("cx24108 debug: select vco #%d (f=%d)\n",i,freq); |
220 | band=bandsel[i]; | 220 | band=bandsel[i]; |
221 | /* the gain values must be set by SetSymbolrate */ | 221 | /* the gain values must be set by SetSymbolrate */ |