diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-07 14:14:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-07 14:14:49 -0400 |
commit | 42933bac11e811f02200c944d8562a15f8ec4ff0 (patch) | |
tree | fcdd9afe56eb0e746565ddd1f92f22d36678b843 /drivers/media/dvb/frontends | |
parent | 2b9accbee563f535046ff2cd382d0acaa92e130c (diff) | |
parent | 25985edcedea6396277003854657b5f3cb31a628 (diff) |
Merge branch 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6
* 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6:
Fix common misspellings
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r-- | drivers/media/dvb/frontends/atbm8830.h | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/au8522_dig.c | 6 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/bcm3510.c | 6 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/cx22700.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/cx22702.c | 6 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/cx24110.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/cx24113.h | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/cx24123.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/drx397xD.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/mb86a16.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/mb86a20s.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/mt312.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/s5h1420.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/stb6100.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/stv0297.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/stv0367.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/stv0900_priv.h | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/stv090x.c | 12 |
18 files changed, 29 insertions, 29 deletions
diff --git a/drivers/media/dvb/frontends/atbm8830.h b/drivers/media/dvb/frontends/atbm8830.h index e8149f393300..024273374bd8 100644 --- a/drivers/media/dvb/frontends/atbm8830.h +++ b/drivers/media/dvb/frontends/atbm8830.h | |||
@@ -39,7 +39,7 @@ struct atbm8830_config { | |||
39 | /* parallel or serial transport stream */ | 39 | /* parallel or serial transport stream */ |
40 | u8 serial_ts; | 40 | u8 serial_ts; |
41 | 41 | ||
42 | /* transport stream clock output only when receving valid stream */ | 42 | /* transport stream clock output only when receiving valid stream */ |
43 | u8 ts_clk_gated; | 43 | u8 ts_clk_gated; |
44 | 44 | ||
45 | /* Decoder sample TS data at rising edge of clock */ | 45 | /* Decoder sample TS data at rising edge of clock */ |
diff --git a/drivers/media/dvb/frontends/au8522_dig.c b/drivers/media/dvb/frontends/au8522_dig.c index 65f6a36dfb21..1d572940e243 100644 --- a/drivers/media/dvb/frontends/au8522_dig.c +++ b/drivers/media/dvb/frontends/au8522_dig.c | |||
@@ -635,7 +635,7 @@ static int au8522_led_gpio_enable(struct au8522_state *state, int onoff) | |||
635 | struct au8522_led_config *led_config = state->config->led_cfg; | 635 | struct au8522_led_config *led_config = state->config->led_cfg; |
636 | u8 val; | 636 | u8 val; |
637 | 637 | ||
638 | /* bail out if we cant control an LED */ | 638 | /* bail out if we can't control an LED */ |
639 | if (!led_config || !led_config->gpio_output || | 639 | if (!led_config || !led_config->gpio_output || |
640 | !led_config->gpio_output_enable || !led_config->gpio_output_disable) | 640 | !led_config->gpio_output_enable || !led_config->gpio_output_disable) |
641 | return 0; | 641 | return 0; |
@@ -665,7 +665,7 @@ static int au8522_led_ctrl(struct au8522_state *state, int led) | |||
665 | struct au8522_led_config *led_config = state->config->led_cfg; | 665 | struct au8522_led_config *led_config = state->config->led_cfg; |
666 | int i, ret = 0; | 666 | int i, ret = 0; |
667 | 667 | ||
668 | /* bail out if we cant control an LED */ | 668 | /* bail out if we can't control an LED */ |
669 | if (!led_config || !led_config->gpio_leds || | 669 | if (!led_config || !led_config->gpio_leds || |
670 | !led_config->num_led_states || !led_config->led_states) | 670 | !led_config->num_led_states || !led_config->led_states) |
671 | return 0; | 671 | return 0; |
@@ -803,7 +803,7 @@ static int au8522_led_status(struct au8522_state *state, const u16 *snr) | |||
803 | int led; | 803 | int led; |
804 | u16 strong; | 804 | u16 strong; |
805 | 805 | ||
806 | /* bail out if we cant control an LED */ | 806 | /* bail out if we can't control an LED */ |
807 | if (!led_config) | 807 | if (!led_config) |
808 | return 0; | 808 | return 0; |
809 | 809 | ||
diff --git a/drivers/media/dvb/frontends/bcm3510.c b/drivers/media/dvb/frontends/bcm3510.c index cf5e576dfdcf..8aff5868a5e1 100644 --- a/drivers/media/dvb/frontends/bcm3510.c +++ b/drivers/media/dvb/frontends/bcm3510.c | |||
@@ -155,7 +155,7 @@ static int bcm3510_hab_send_request(struct bcm3510_state *st, u8 *buf, int len) | |||
155 | unsigned long t; | 155 | unsigned long t; |
156 | 156 | ||
157 | /* Check if any previous HAB request still needs to be serviced by the | 157 | /* Check if any previous HAB request still needs to be serviced by the |
158 | * Aquisition Processor before sending new request */ | 158 | * Acquisition Processor before sending new request */ |
159 | if ((ret = bcm3510_readB(st,0xa8,&v)) < 0) | 159 | if ((ret = bcm3510_readB(st,0xa8,&v)) < 0) |
160 | return ret; | 160 | return ret; |
161 | if (v.HABSTAT_a8.HABR) { | 161 | if (v.HABSTAT_a8.HABR) { |
@@ -361,7 +361,7 @@ static int bcm3510_tuner_cmd(struct bcm3510_state* st,u8 bc, u16 n, u8 a) | |||
361 | /* Set duration of the initial state of TUNCTL = 3.34 micro Sec */ | 361 | /* Set duration of the initial state of TUNCTL = 3.34 micro Sec */ |
362 | c.TUNCTL_state = 0x40; | 362 | c.TUNCTL_state = 0x40; |
363 | 363 | ||
364 | /* PRESCALER DEVIDE RATIO | BC1_2_3_4; (band switch), 1stosc REFERENCE COUNTER REF_S12 and REF_S11 */ | 364 | /* PRESCALER DIVIDE RATIO | BC1_2_3_4; (band switch), 1stosc REFERENCE COUNTER REF_S12 and REF_S11 */ |
365 | c.ctl_dat[0].ctrl.size = BITS_8; | 365 | c.ctl_dat[0].ctrl.size = BITS_8; |
366 | c.ctl_dat[0].data = 0x80 | bc; | 366 | c.ctl_dat[0].data = 0x80 | bc; |
367 | 367 | ||
@@ -397,7 +397,7 @@ static int bcm3510_tuner_cmd(struct bcm3510_state* st,u8 bc, u16 n, u8 a) | |||
397 | c.ctl_dat[7].ctrl.cs0 = 1; | 397 | c.ctl_dat[7].ctrl.cs0 = 1; |
398 | c.ctl_dat[7].data = 0x40; | 398 | c.ctl_dat[7].data = 0x40; |
399 | 399 | ||
400 | /* PRESCALER DEVIDE RATIO, 2ndosc REFERENCE COUNTER REF_S12 and REF_S11 */ | 400 | /* PRESCALER DIVIDE RATIO, 2ndosc REFERENCE COUNTER REF_S12 and REF_S11 */ |
401 | c.ctl_dat[8].ctrl.size = BITS_8; | 401 | c.ctl_dat[8].ctrl.size = BITS_8; |
402 | c.ctl_dat[8].data = 0x80; | 402 | c.ctl_dat[8].data = 0x80; |
403 | 403 | ||
diff --git a/drivers/media/dvb/frontends/cx22700.c b/drivers/media/dvb/frontends/cx22700.c index 5fbc0fc37ecd..0142214b0133 100644 --- a/drivers/media/dvb/frontends/cx22700.c +++ b/drivers/media/dvb/frontends/cx22700.c | |||
@@ -179,7 +179,7 @@ static int cx22700_set_tps (struct cx22700_state *state, struct dvb_ofdm_paramet | |||
179 | cx22700_writereg (state, 0x06, val); | 179 | cx22700_writereg (state, 0x06, val); |
180 | 180 | ||
181 | cx22700_writereg (state, 0x08, 0x04 | 0x02); /* use user tps parameters */ | 181 | cx22700_writereg (state, 0x08, 0x04 | 0x02); /* use user tps parameters */ |
182 | cx22700_writereg (state, 0x08, 0x04); /* restart aquisition */ | 182 | cx22700_writereg (state, 0x08, 0x04); /* restart acquisition */ |
183 | 183 | ||
184 | return 0; | 184 | return 0; |
185 | } | 185 | } |
diff --git a/drivers/media/dvb/frontends/cx22702.c b/drivers/media/dvb/frontends/cx22702.c index ff6c4983051c..3139558148ba 100644 --- a/drivers/media/dvb/frontends/cx22702.c +++ b/drivers/media/dvb/frontends/cx22702.c | |||
@@ -55,7 +55,7 @@ MODULE_PARM_DESC(debug, "Enable verbose debug messages"); | |||
55 | 55 | ||
56 | /* Register values to initialise the demod */ | 56 | /* Register values to initialise the demod */ |
57 | static const u8 init_tab[] = { | 57 | static const u8 init_tab[] = { |
58 | 0x00, 0x00, /* Stop aquisition */ | 58 | 0x00, 0x00, /* Stop acquisition */ |
59 | 0x0B, 0x06, | 59 | 0x0B, 0x06, |
60 | 0x09, 0x01, | 60 | 0x09, 0x01, |
61 | 0x0D, 0x41, | 61 | 0x0D, 0x41, |
@@ -310,7 +310,7 @@ static int cx22702_set_tps(struct dvb_frontend *fe, | |||
310 | & 0xfc); | 310 | & 0xfc); |
311 | cx22702_writereg(state, 0x0C, | 311 | cx22702_writereg(state, 0x0C, |
312 | (cx22702_readreg(state, 0x0C) & 0xBF) | 0x40); | 312 | (cx22702_readreg(state, 0x0C) & 0xBF) | 0x40); |
313 | cx22702_writereg(state, 0x00, 0x01); /* Begin aquisition */ | 313 | cx22702_writereg(state, 0x00, 0x01); /* Begin acquisition */ |
314 | dprintk("%s: Autodetecting\n", __func__); | 314 | dprintk("%s: Autodetecting\n", __func__); |
315 | return 0; | 315 | return 0; |
316 | } | 316 | } |
@@ -424,7 +424,7 @@ static int cx22702_set_tps(struct dvb_frontend *fe, | |||
424 | cx22702_writereg(state, 0x0C, | 424 | cx22702_writereg(state, 0x0C, |
425 | (cx22702_readreg(state, 0x0C) & 0xBF) | 0x40); | 425 | (cx22702_readreg(state, 0x0C) & 0xBF) | 0x40); |
426 | 426 | ||
427 | /* Begin channel aquisition */ | 427 | /* Begin channel acquisition */ |
428 | cx22702_writereg(state, 0x00, 0x01); | 428 | cx22702_writereg(state, 0x00, 0x01); |
429 | 429 | ||
430 | return 0; | 430 | return 0; |
diff --git a/drivers/media/dvb/frontends/cx24110.c b/drivers/media/dvb/frontends/cx24110.c index 7a1a5bc337d8..bf9c999aa470 100644 --- a/drivers/media/dvb/frontends/cx24110.c +++ b/drivers/media/dvb/frontends/cx24110.c | |||
@@ -544,7 +544,7 @@ static int cx24110_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_par | |||
544 | cx24110_set_inversion (state, p->inversion); | 544 | cx24110_set_inversion (state, p->inversion); |
545 | cx24110_set_fec (state, p->u.qpsk.fec_inner); | 545 | cx24110_set_fec (state, p->u.qpsk.fec_inner); |
546 | cx24110_set_symbolrate (state, p->u.qpsk.symbol_rate); | 546 | cx24110_set_symbolrate (state, p->u.qpsk.symbol_rate); |
547 | cx24110_writereg(state,0x04,0x05); /* start aquisition */ | 547 | cx24110_writereg(state,0x04,0x05); /* start acquisition */ |
548 | 548 | ||
549 | return 0; | 549 | return 0; |
550 | } | 550 | } |
diff --git a/drivers/media/dvb/frontends/cx24113.h b/drivers/media/dvb/frontends/cx24113.h index 5de0f7ffd8d2..01eb7b9c28f4 100644 --- a/drivers/media/dvb/frontends/cx24113.h +++ b/drivers/media/dvb/frontends/cx24113.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for Conexant CX24113/CX24128 Tuner (Satelite) | 2 | * Driver for Conexant CX24113/CX24128 Tuner (Satellite) |
3 | * | 3 | * |
4 | * Copyright (C) 2007-8 Patrick Boettcher <pb@linuxtv.org> | 4 | * Copyright (C) 2007-8 Patrick Boettcher <pb@linuxtv.org> |
5 | * | 5 | * |
diff --git a/drivers/media/dvb/frontends/cx24123.c b/drivers/media/dvb/frontends/cx24123.c index fad6a990a39b..b1dd8acc607a 100644 --- a/drivers/media/dvb/frontends/cx24123.c +++ b/drivers/media/dvb/frontends/cx24123.c | |||
@@ -949,7 +949,7 @@ static int cx24123_set_frontend(struct dvb_frontend *fe, | |||
949 | else | 949 | else |
950 | err("it seems I don't have a tuner..."); | 950 | err("it seems I don't have a tuner..."); |
951 | 951 | ||
952 | /* Enable automatic aquisition and reset cycle */ | 952 | /* Enable automatic acquisition and reset cycle */ |
953 | cx24123_writereg(state, 0x03, (cx24123_readreg(state, 0x03) | 0x07)); | 953 | cx24123_writereg(state, 0x03, (cx24123_readreg(state, 0x03) | 0x07)); |
954 | cx24123_writereg(state, 0x00, 0x10); | 954 | cx24123_writereg(state, 0x00, 0x10); |
955 | cx24123_writereg(state, 0x00, 0); | 955 | cx24123_writereg(state, 0x00, 0); |
diff --git a/drivers/media/dvb/frontends/drx397xD.c b/drivers/media/dvb/frontends/drx397xD.c index a05007c80985..536f02b17338 100644 --- a/drivers/media/dvb/frontends/drx397xD.c +++ b/drivers/media/dvb/frontends/drx397xD.c | |||
@@ -1097,7 +1097,7 @@ static int drx397x_init(struct dvb_frontend *fe) | |||
1097 | s->config.ifagc.w0A = 0x3ff; | 1097 | s->config.ifagc.w0A = 0x3ff; |
1098 | s->config.ifagc.w0C = 0x388; | 1098 | s->config.ifagc.w0C = 0x388; |
1099 | 1099 | ||
1100 | /* for signal strenght calculations */ | 1100 | /* for signal strength calculations */ |
1101 | s->config.ss76 = 820; | 1101 | s->config.ss76 = 820; |
1102 | s->config.ss78 = 2200; | 1102 | s->config.ss78 = 2200; |
1103 | s->config.ss7A = 150; | 1103 | s->config.ss7A = 150; |
diff --git a/drivers/media/dvb/frontends/mb86a16.c b/drivers/media/dvb/frontends/mb86a16.c index 33b63235b86e..c283112051b1 100644 --- a/drivers/media/dvb/frontends/mb86a16.c +++ b/drivers/media/dvb/frontends/mb86a16.c | |||
@@ -1630,7 +1630,7 @@ static enum dvbfe_search mb86a16_search(struct dvb_frontend *fe, | |||
1630 | state->srate = p->u.qpsk.symbol_rate / 1000; | 1630 | state->srate = p->u.qpsk.symbol_rate / 1000; |
1631 | 1631 | ||
1632 | if (!mb86a16_set_fe(state)) { | 1632 | if (!mb86a16_set_fe(state)) { |
1633 | dprintk(verbose, MB86A16_ERROR, 1, "Succesfully acquired LOCK"); | 1633 | dprintk(verbose, MB86A16_ERROR, 1, "Successfully acquired LOCK"); |
1634 | return DVBFE_ALGO_SEARCH_SUCCESS; | 1634 | return DVBFE_ALGO_SEARCH_SUCCESS; |
1635 | } | 1635 | } |
1636 | 1636 | ||
diff --git a/drivers/media/dvb/frontends/mb86a20s.c b/drivers/media/dvb/frontends/mb86a20s.c index cc4acd2f920d..0f867a5055fb 100644 --- a/drivers/media/dvb/frontends/mb86a20s.c +++ b/drivers/media/dvb/frontends/mb86a20s.c | |||
@@ -406,7 +406,7 @@ err: | |||
406 | printk(KERN_INFO "mb86a20s: Init failed. Will try again later\n"); | 406 | printk(KERN_INFO "mb86a20s: Init failed. Will try again later\n"); |
407 | } else { | 407 | } else { |
408 | state->need_init = false; | 408 | state->need_init = false; |
409 | dprintk("Initialization succeded.\n"); | 409 | dprintk("Initialization succeeded.\n"); |
410 | } | 410 | } |
411 | return rc; | 411 | return rc; |
412 | } | 412 | } |
diff --git a/drivers/media/dvb/frontends/mt312.c b/drivers/media/dvb/frontends/mt312.c index 472907d43460..83e6f1a1b700 100644 --- a/drivers/media/dvb/frontends/mt312.c +++ b/drivers/media/dvb/frontends/mt312.c | |||
@@ -670,7 +670,7 @@ static int mt312_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) | |||
670 | if (ret < 0) | 670 | if (ret < 0) |
671 | goto error; | 671 | goto error; |
672 | 672 | ||
673 | /* preserve this bit to not accidently shutdown ADC */ | 673 | /* preserve this bit to not accidentally shutdown ADC */ |
674 | val &= 0x80; | 674 | val &= 0x80; |
675 | break; | 675 | break; |
676 | } | 676 | } |
diff --git a/drivers/media/dvb/frontends/s5h1420.c b/drivers/media/dvb/frontends/s5h1420.c index e87b747ea99c..17f8cdf8afef 100644 --- a/drivers/media/dvb/frontends/s5h1420.c +++ b/drivers/media/dvb/frontends/s5h1420.c | |||
@@ -225,7 +225,7 @@ static int s5h1420_recv_slave_reply (struct dvb_frontend* fe, | |||
225 | unsigned long timeout; | 225 | unsigned long timeout; |
226 | int result = 0; | 226 | int result = 0; |
227 | 227 | ||
228 | /* setup for DISEQC recieve */ | 228 | /* setup for DISEQC receive */ |
229 | val = s5h1420_readreg(state, 0x3b); | 229 | val = s5h1420_readreg(state, 0x3b); |
230 | s5h1420_writereg(state, 0x3b, 0x82); /* FIXME: guess - do we need to set DIS_RDY(0x08) in receive mode? */ | 230 | s5h1420_writereg(state, 0x3b, 0x82); /* FIXME: guess - do we need to set DIS_RDY(0x08) in receive mode? */ |
231 | msleep(15); | 231 | msleep(15); |
diff --git a/drivers/media/dvb/frontends/stb6100.c b/drivers/media/dvb/frontends/stb6100.c index 64673b8b64a2..bc1a8af4f6e1 100644 --- a/drivers/media/dvb/frontends/stb6100.c +++ b/drivers/media/dvb/frontends/stb6100.c | |||
@@ -360,7 +360,7 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) | |||
360 | else | 360 | else |
361 | odiv = 0; | 361 | odiv = 0; |
362 | 362 | ||
363 | /* VCO enabled, seach clock off as per LL3.7, 3.4.1 */ | 363 | /* VCO enabled, search clock off as per LL3.7, 3.4.1 */ |
364 | regs[STB6100_VCO] = 0xe0 | (odiv << STB6100_VCO_ODIV_SHIFT); | 364 | regs[STB6100_VCO] = 0xe0 | (odiv << STB6100_VCO_ODIV_SHIFT); |
365 | 365 | ||
366 | /* OSM */ | 366 | /* OSM */ |
diff --git a/drivers/media/dvb/frontends/stv0297.c b/drivers/media/dvb/frontends/stv0297.c index 4fd7479bb62b..84d88f33275e 100644 --- a/drivers/media/dvb/frontends/stv0297.c +++ b/drivers/media/dvb/frontends/stv0297.c | |||
@@ -435,7 +435,7 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par | |||
435 | return -EINVAL; | 435 | return -EINVAL; |
436 | } | 436 | } |
437 | 437 | ||
438 | // determine inversion dependant parameters | 438 | // determine inversion dependent parameters |
439 | inversion = p->inversion; | 439 | inversion = p->inversion; |
440 | if (state->config->invert) | 440 | if (state->config->invert) |
441 | inversion = (inversion == INVERSION_ON) ? INVERSION_OFF : INVERSION_ON; | 441 | inversion = (inversion == INVERSION_ON) ? INVERSION_OFF : INVERSION_ON; |
diff --git a/drivers/media/dvb/frontends/stv0367.c b/drivers/media/dvb/frontends/stv0367.c index 4e0e6a873b8c..e57ab53e2e27 100644 --- a/drivers/media/dvb/frontends/stv0367.c +++ b/drivers/media/dvb/frontends/stv0367.c | |||
@@ -1328,7 +1328,7 @@ stv0367_ter_signal_type stv0367ter_lock_algo(struct stv0367_state *state) | |||
1328 | 1328 | ||
1329 | /*guard=stv0367_readbits(state,F367TER_SYR_GUARD); */ | 1329 | /*guard=stv0367_readbits(state,F367TER_SYR_GUARD); */ |
1330 | 1330 | ||
1331 | /*supress EPQ auto for SYR_GARD 1/16 or 1/32 | 1331 | /*suppress EPQ auto for SYR_GARD 1/16 or 1/32 |
1332 | and set channel predictor in automatic */ | 1332 | and set channel predictor in automatic */ |
1333 | #if 0 | 1333 | #if 0 |
1334 | switch (guard) { | 1334 | switch (guard) { |
diff --git a/drivers/media/dvb/frontends/stv0900_priv.h b/drivers/media/dvb/frontends/stv0900_priv.h index b62b0f0a4fef..e0ea74c8e093 100644 --- a/drivers/media/dvb/frontends/stv0900_priv.h +++ b/drivers/media/dvb/frontends/stv0900_priv.h | |||
@@ -238,7 +238,7 @@ enum fe_stv0900_demod_mode { | |||
238 | }; | 238 | }; |
239 | 239 | ||
240 | struct stv0900_init_params{ | 240 | struct stv0900_init_params{ |
241 | u32 dmd_ref_clk;/* Refrence,Input clock for the demod in Hz */ | 241 | u32 dmd_ref_clk;/* Reference,Input clock for the demod in Hz */ |
242 | 242 | ||
243 | /* Demodulator Type (single demod or dual demod) */ | 243 | /* Demodulator Type (single demod or dual demod) */ |
244 | enum fe_stv0900_demod_mode demod_mode; | 244 | enum fe_stv0900_demod_mode demod_mode; |
diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c index 41d0f0a6655d..52d8712411e5 100644 --- a/drivers/media/dvb/frontends/stv090x.c +++ b/drivers/media/dvb/frontends/stv090x.c | |||
@@ -1424,7 +1424,7 @@ static int stv090x_start_search(struct stv090x_state *state) | |||
1424 | if (STV090x_WRITE_DEMOD(state, CFRLOW0, 0x00) < 0) | 1424 | if (STV090x_WRITE_DEMOD(state, CFRLOW0, 0x00) < 0) |
1425 | goto err; | 1425 | goto err; |
1426 | 1426 | ||
1427 | /*enlarge the timing bandwith for Low SR*/ | 1427 | /*enlarge the timing bandwidth for Low SR*/ |
1428 | if (STV090x_WRITE_DEMOD(state, RTCS2, 0x68) < 0) | 1428 | if (STV090x_WRITE_DEMOD(state, RTCS2, 0x68) < 0) |
1429 | goto err; | 1429 | goto err; |
1430 | } else { | 1430 | } else { |
@@ -1432,17 +1432,17 @@ static int stv090x_start_search(struct stv090x_state *state) | |||
1432 | Set The carrier search up and low to auto mode */ | 1432 | Set The carrier search up and low to auto mode */ |
1433 | if (STV090x_WRITE_DEMOD(state, CARCFG, 0xc4) < 0) | 1433 | if (STV090x_WRITE_DEMOD(state, CARCFG, 0xc4) < 0) |
1434 | goto err; | 1434 | goto err; |
1435 | /*reduce the timing bandwith for high SR*/ | 1435 | /*reduce the timing bandwidth for high SR*/ |
1436 | if (STV090x_WRITE_DEMOD(state, RTCS2, 0x44) < 0) | 1436 | if (STV090x_WRITE_DEMOD(state, RTCS2, 0x44) < 0) |
1437 | goto err; | 1437 | goto err; |
1438 | } | 1438 | } |
1439 | } else { | 1439 | } else { |
1440 | /* >= Cut 3 */ | 1440 | /* >= Cut 3 */ |
1441 | if (state->srate <= 5000000) { | 1441 | if (state->srate <= 5000000) { |
1442 | /* enlarge the timing bandwith for Low SR */ | 1442 | /* enlarge the timing bandwidth for Low SR */ |
1443 | STV090x_WRITE_DEMOD(state, RTCS2, 0x68); | 1443 | STV090x_WRITE_DEMOD(state, RTCS2, 0x68); |
1444 | } else { | 1444 | } else { |
1445 | /* reduce timing bandwith for high SR */ | 1445 | /* reduce timing bandwidth for high SR */ |
1446 | STV090x_WRITE_DEMOD(state, RTCS2, 0x44); | 1446 | STV090x_WRITE_DEMOD(state, RTCS2, 0x44); |
1447 | } | 1447 | } |
1448 | 1448 | ||
@@ -2482,7 +2482,7 @@ static int stv090x_sw_algo(struct stv090x_state *state) | |||
2482 | dvbs2_fly_wheel = STV090x_GETFIELD_Px(reg, FLYWHEEL_CPT_FIELD); | 2482 | dvbs2_fly_wheel = STV090x_GETFIELD_Px(reg, FLYWHEEL_CPT_FIELD); |
2483 | } | 2483 | } |
2484 | if (dvbs2_fly_wheel < 0xd) { | 2484 | if (dvbs2_fly_wheel < 0xd) { |
2485 | /*FALSE lock, The demod is loosing lock */ | 2485 | /*FALSE lock, The demod is losing lock */ |
2486 | lock = 0; | 2486 | lock = 0; |
2487 | if (trials < 2) { | 2487 | if (trials < 2) { |
2488 | if (state->internal->dev_ver >= 0x20) { | 2488 | if (state->internal->dev_ver >= 0x20) { |
@@ -3202,7 +3202,7 @@ static enum stv090x_signal_state stv090x_algo(struct stv090x_state *state) | |||
3202 | goto err; | 3202 | goto err; |
3203 | if (STV090x_WRITE_DEMOD(state, CORRELMANT, 0x70) < 0) | 3203 | if (STV090x_WRITE_DEMOD(state, CORRELMANT, 0x70) < 0) |
3204 | goto err; | 3204 | goto err; |
3205 | if (stv090x_set_srate(state, 1000000) < 0) /* inital srate = 1Msps */ | 3205 | if (stv090x_set_srate(state, 1000000) < 0) /* initial srate = 1Msps */ |
3206 | goto err; | 3206 | goto err; |
3207 | } else { | 3207 | } else { |
3208 | /* known srate */ | 3208 | /* known srate */ |