diff options
-rw-r--r-- | drivers/media/common/tuners/tuner-simple.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/common/tuners/tuner-simple.c b/drivers/media/common/tuners/tuner-simple.c index a5eb6592abe2..149d54cdf7b9 100644 --- a/drivers/media/common/tuners/tuner-simple.c +++ b/drivers/media/common/tuners/tuner-simple.c | |||
@@ -694,12 +694,12 @@ static int simple_set_radio_freq(struct dvb_frontend *fe, | |||
694 | return 0; | 694 | return 0; |
695 | } | 695 | } |
696 | 696 | ||
697 | /* Bandswitch byte */ | ||
698 | simple_radio_bandswitch(fe, &buffer[0]); | ||
699 | |||
700 | buffer[2] = (t_params->ranges[0].config & ~TUNER_RATIO_MASK) | | 697 | buffer[2] = (t_params->ranges[0].config & ~TUNER_RATIO_MASK) | |
701 | TUNER_RATIO_SELECT_50; /* 50 kHz step */ | 698 | TUNER_RATIO_SELECT_50; /* 50 kHz step */ |
702 | 699 | ||
700 | /* Bandswitch byte */ | ||
701 | simple_radio_bandswitch(fe, &buffer[0]); | ||
702 | |||
703 | /* Convert from 1/16 kHz V4L steps to 1/20 MHz (=50 kHz) PLL steps | 703 | /* Convert from 1/16 kHz V4L steps to 1/20 MHz (=50 kHz) PLL steps |
704 | freq * (1 Mhz / 16000 V4L steps) * (20 PLL steps / 1 MHz) = | 704 | freq * (1 Mhz / 16000 V4L steps) * (20 PLL steps / 1 MHz) = |
705 | freq * (1/800) */ | 705 | freq * (1/800) */ |