diff options
author | Marko Schluessler <marco@lordzodiac.de> | 2007-10-23 18:56:18 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:19 -0500 |
commit | 7d8f1e57646d7121089ba21e270c1b390de9a17a (patch) | |
tree | 7b17d7e5d8c0561be89602bac9b30bd6aac6d53a /drivers | |
parent | 7e4e8c52e3f87a83ce967397bb389f75cb71742d (diff) |
V4L/DVB (9428): Fix: assignment of wrong values
Signed-off-by: Marko Schluessler <marco@lordzodiac.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/stb0899_algo.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/stb0899_drv.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/stb6100.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_algo.c b/drivers/media/dvb/frontends/stb0899_algo.c index ff3a3f83a6d3..17f0311ead67 100644 --- a/drivers/media/dvb/frontends/stb0899_algo.c +++ b/drivers/media/dvb/frontends/stb0899_algo.c | |||
@@ -515,7 +515,7 @@ enum stb0899_status stb0899_dvbs_algo(struct stb0899_state *state) | |||
515 | struct stb0899_config *config = state->config; | 515 | struct stb0899_config *config = state->config; |
516 | 516 | ||
517 | u8 bclc, reg; | 517 | u8 bclc, reg; |
518 | u8 cfr[1]; | 518 | u8 cfr[2]; |
519 | u8 eq_const[10]; | 519 | u8 eq_const[10]; |
520 | s32 clnI = 3; | 520 | s32 clnI = 3; |
521 | u32 bandwidth = 0; | 521 | u32 bandwidth = 0; |
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c index b76bb494e15a..9f5254aee39b 100644 --- a/drivers/media/dvb/frontends/stb0899_drv.c +++ b/drivers/media/dvb/frontends/stb0899_drv.c | |||
@@ -611,7 +611,7 @@ static void stb0899_init_calc(struct stb0899_state *state) | |||
611 | { | 611 | { |
612 | struct stb0899_internal *internal = &state->internal; | 612 | struct stb0899_internal *internal = &state->internal; |
613 | int master_clk; | 613 | int master_clk; |
614 | u8 agc[1]; | 614 | u8 agc[2]; |
615 | u8 agc1cn; | 615 | u8 agc1cn; |
616 | u32 reg; | 616 | u32 reg; |
617 | 617 | ||
diff --git a/drivers/media/dvb/frontends/stb6100.c b/drivers/media/dvb/frontends/stb6100.c index c61ade64b984..d19a3bfcc5fe 100644 --- a/drivers/media/dvb/frontends/stb6100.c +++ b/drivers/media/dvb/frontends/stb6100.c | |||
@@ -487,7 +487,7 @@ static int stb6100_set_state(struct dvb_frontend *fe, | |||
487 | switch (param) { | 487 | switch (param) { |
488 | case DVBFE_TUNER_FREQUENCY: | 488 | case DVBFE_TUNER_FREQUENCY: |
489 | stb6100_set_frequency(fe, state->frequency); | 489 | stb6100_set_frequency(fe, state->frequency); |
490 | state->frequency = tstate->frequency; | 490 | tstate->frequency = state->frequency; |
491 | break; | 491 | break; |
492 | case DVBFE_TUNER_TUNERSTEP: | 492 | case DVBFE_TUNER_TUNERSTEP: |
493 | break; | 493 | break; |
@@ -495,7 +495,7 @@ static int stb6100_set_state(struct dvb_frontend *fe, | |||
495 | break; | 495 | break; |
496 | case DVBFE_TUNER_BANDWIDTH: | 496 | case DVBFE_TUNER_BANDWIDTH: |
497 | stb6100_set_bandwidth(fe, state->bandwidth); | 497 | stb6100_set_bandwidth(fe, state->bandwidth); |
498 | state->bandwidth = tstate->bandwidth; | 498 | tstate->bandwidth = state->bandwidth; |
499 | break; | 499 | break; |
500 | case DVBFE_TUNER_REFCLOCK: | 500 | case DVBFE_TUNER_REFCLOCK: |
501 | break; | 501 | break; |