[media] frontends/s5h1420: Change: clock_settting to clock_setting
authorJustin P. Mattock <justinmattock@gmail.com>
Mon, 6 Jun 2011 16:11:52 +0000 (13:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:05 +0000 (17:53 -0300)
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>
drivers/media/dvb/frontends/s5h1420.c

index 17f8cdf8afefe041a3be5ecbd11cf009f93f0e3f..3879d2e378aa73da4ac1b923a7e163c6c54a48a6 100644 (file)
@@ -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));