aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/s5h1420.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/dvb/frontends/s5h1420.c b/drivers/media/dvb/frontends/s5h1420.c
index 17f8cdf8afef..3879d2e378aa 100644
--- a/drivers/media/dvb/frontends/s5h1420.c
+++ b/drivers/media/dvb/frontends/s5h1420.c
@@ -634,7 +634,7 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe,
634 struct s5h1420_state* state = fe->demodulator_priv; 634 struct s5h1420_state* state = fe->demodulator_priv;
635 int frequency_delta; 635 int frequency_delta;
636 struct dvb_frontend_tune_settings fesettings; 636 struct dvb_frontend_tune_settings fesettings;
637 uint8_t clock_settting; 637 uint8_t clock_setting;
638 638
639 dprintk("enter %s\n", __func__); 639 dprintk("enter %s\n", __func__);
640 640
@@ -684,19 +684,19 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe,
684 switch (state->fclk) { 684 switch (state->fclk) {
685 default: 685 default:
686 case 88000000: 686 case 88000000:
687 clock_settting = 80; 687 clock_setting = 80;
688 break; 688 break;
689 case 86000000: 689 case 86000000:
690 clock_settting = 78; 690 clock_setting = 78;
691 break; 691 break;
692 case 80000000: 692 case 80000000:
693 clock_settting = 72; 693 clock_setting = 72;
694 break; 694 break;
695 case 59000000: 695 case 59000000:
696 clock_settting = 51; 696 clock_setting = 51;
697 break; 697 break;
698 case 44000000: 698 case 44000000:
699 clock_settting = 36; 699 clock_setting = 36;
700 break; 700 break;
701 } 701 }
702 dprintk("pll01: %d, ToneFreq: %d\n", state->fclk/1000000 - 8, (state->fclk + (TONE_FREQ * 32) - 1) / (TONE_FREQ * 32)); 702 dprintk("pll01: %d, ToneFreq: %d\n", state->fclk/1000000 - 8, (state->fclk + (TONE_FREQ * 32) - 1) / (TONE_FREQ * 32));