Commit 7d8f1e57 authored by Marko Schluessler's avatar Marko Schluessler Committed by Mauro Carvalho Chehab

V4L/DVB (9428): Fix: assignment of wrong values

Signed-off-by: default avatarMarko Schluessler <marco@lordzodiac.de>
Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 7e4e8c52
...@@ -515,7 +515,7 @@ enum stb0899_status stb0899_dvbs_algo(struct stb0899_state *state) ...@@ -515,7 +515,7 @@ enum stb0899_status stb0899_dvbs_algo(struct stb0899_state *state)
struct stb0899_config *config = state->config; struct stb0899_config *config = state->config;
u8 bclc, reg; u8 bclc, reg;
u8 cfr[1]; u8 cfr[2];
u8 eq_const[10]; u8 eq_const[10];
s32 clnI = 3; s32 clnI = 3;
u32 bandwidth = 0; u32 bandwidth = 0;
......
...@@ -611,7 +611,7 @@ static void stb0899_init_calc(struct stb0899_state *state) ...@@ -611,7 +611,7 @@ static void stb0899_init_calc(struct stb0899_state *state)
{ {
struct stb0899_internal *internal = &state->internal; struct stb0899_internal *internal = &state->internal;
int master_clk; int master_clk;
u8 agc[1]; u8 agc[2];
u8 agc1cn; u8 agc1cn;
u32 reg; u32 reg;
......
...@@ -487,7 +487,7 @@ static int stb6100_set_state(struct dvb_frontend *fe, ...@@ -487,7 +487,7 @@ static int stb6100_set_state(struct dvb_frontend *fe,
switch (param) { switch (param) {
case DVBFE_TUNER_FREQUENCY: case DVBFE_TUNER_FREQUENCY:
stb6100_set_frequency(fe, state->frequency); stb6100_set_frequency(fe, state->frequency);
state->frequency = tstate->frequency; tstate->frequency = state->frequency;
break; break;
case DVBFE_TUNER_TUNERSTEP: case DVBFE_TUNER_TUNERSTEP:
break; break;
...@@ -495,7 +495,7 @@ static int stb6100_set_state(struct dvb_frontend *fe, ...@@ -495,7 +495,7 @@ static int stb6100_set_state(struct dvb_frontend *fe,
break; break;
case DVBFE_TUNER_BANDWIDTH: case DVBFE_TUNER_BANDWIDTH:
stb6100_set_bandwidth(fe, state->bandwidth); stb6100_set_bandwidth(fe, state->bandwidth);
state->bandwidth = tstate->bandwidth; tstate->bandwidth = state->bandwidth;
break; break;
case DVBFE_TUNER_REFCLOCK: case DVBFE_TUNER_REFCLOCK:
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment