summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/s5h1420.c
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2011-06-06 13:11:52 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:53:05 -0300
commitc3f305aab4b2b4334a46a8cc212f4adf05af6798 (patch)
tree9c67d3bf55bce10ebf309093f042e102d6f1d0e0 /drivers/media/dvb/frontends/s5h1420.c
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/dvb/frontends/s5h1420.c')
-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 17f8cdf8afe..3879d2e378a 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,
struct s5h1420_state* state = fe->demodulator_priv;
int frequency_delta;
struct dvb_frontend_tune_settings fesettings;
- uint8_t clock_settting;
+ uint8_t clock_setting;
dprintk("enter %s\n", __func__);
@@ -684,19 +684,19 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe,
switch (state->fclk) {
default:
case 88000000:
- clock_settting = 80;
+ clock_setting = 80;
break;
case 86000000:
- clock_settting = 78;
+ clock_setting = 78;
break;
case 80000000:
- clock_settting = 72;
+ clock_setting = 72;
break;
case 59000000:
- clock_settting = 51;
+ clock_setting = 51;
break;
case 44000000:
- clock_settting = 36;
+ clock_setting = 36;
break;
}
dprintk("pll01: %d, ToneFreq: %d\n", state->fclk/1000000 - 8, (state->fclk + (TONE_FREQ * 32) - 1) / (TONE_FREQ * 32));