提交 c3f305aa 编写于 作者: J Justin P. Mattock 提交者: Mauro Carvalho Chehab

[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: NJustin P. Mattock <justinmattock@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 79a5b9a2
...@@ -634,7 +634,7 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe, ...@@ -634,7 +634,7 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe,
struct s5h1420_state* state = fe->demodulator_priv; struct s5h1420_state* state = fe->demodulator_priv;
int frequency_delta; int frequency_delta;
struct dvb_frontend_tune_settings fesettings; struct dvb_frontend_tune_settings fesettings;
uint8_t clock_settting; uint8_t clock_setting;
dprintk("enter %s\n", __func__); dprintk("enter %s\n", __func__);
...@@ -684,19 +684,19 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe, ...@@ -684,19 +684,19 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe,
switch (state->fclk) { switch (state->fclk) {
default: default:
case 88000000: case 88000000:
clock_settting = 80; clock_setting = 80;
break; break;
case 86000000: case 86000000:
clock_settting = 78; clock_setting = 78;
break; break;
case 80000000: case 80000000:
clock_settting = 72; clock_setting = 72;
break; break;
case 59000000: case 59000000:
clock_settting = 51; clock_setting = 51;
break; break;
case 44000000: case 44000000:
clock_settting = 36; clock_setting = 36;
break; break;
} }
dprintk("pll01: %d, ToneFreq: %d\n", state->fclk/1000000 - 8, (state->fclk + (TONE_FREQ * 32) - 1) / (TONE_FREQ * 32)); dprintk("pll01: %d, ToneFreq: %d\n", state->fclk/1000000 - 8, (state->fclk + (TONE_FREQ * 32) - 1) / (TONE_FREQ * 32));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册