aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2011-06-06 12:11:52 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:53:05 -0400
commitc3f305aab4b2b4334a46a8cc212f4adf05af6798 (patch)
tree9c67d3bf55bce10ebf309093f042e102d6f1d0e0 /drivers/media
parent79a5b9a2d99f9085dd84e796c20756e4e283b6c9 (diff)
[media] frontends/s5h1420: Change: clock_settting to clock_setting
Changes clock_settting to clock_setting. Note: This could be intentionally set this way from the beginning and/or is a typo. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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));