diff options
| author | Manu Abraham <manu@linuxtv.org> | 2007-10-24 02:56:18 +0400 | 
|---|---|---|
| committer | Manu Abraham <manu@linuxtv.org> | 2007-10-24 02:56:18 +0400 | 
| commit | 3308d27f9c620a22a959ece885d136f7d84421c9 (patch) | |
| tree | 172cdd937fa81bbe68dd8c6804cd6e95ecb368f8 | |
| parent | 8e98a018e1c87e0f5b70d49e08a324287da2aaec (diff) | |
| download | mediapointer-dvb-s2-3308d27f9c620a22a959ece885d136f7d84421c9.tar.gz mediapointer-dvb-s2-3308d27f9c620a22a959ece885d136f7d84421c9.tar.bz2 | |
Fix: assignment of wrong values
From: Marko Schluessler <marco@lordzodiac.de>
Signed-off-by: Marko Schluessler <marco@lordzodiac.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
| -rw-r--r-- | linux/drivers/media/dvb/frontends/stb0899_algo.c | 2 | ||||
| -rw-r--r-- | linux/drivers/media/dvb/frontends/stb0899_drv.c | 2 | ||||
| -rw-r--r-- | linux/drivers/media/dvb/frontends/stb6100.c | 4 | 
3 files changed, 4 insertions, 4 deletions
| diff --git a/linux/drivers/media/dvb/frontends/stb0899_algo.c b/linux/drivers/media/dvb/frontends/stb0899_algo.c index d4780b0ee..f2599ad75 100644 --- a/linux/drivers/media/dvb/frontends/stb0899_algo.c +++ b/linux/drivers/media/dvb/frontends/stb0899_algo.c @@ -515,7 +515,7 @@ enum stb0899_status stb0899_dvbs_algo(struct stb0899_state *state)  	struct stb0899_config *config		= state->config;  	u8 bclc, reg; -	u8 cfr[1]; +	u8 cfr[2];  	u8 eq_const[10];  	s32 clnI = 3;  	u32 bandwidth = 0; diff --git a/linux/drivers/media/dvb/frontends/stb0899_drv.c b/linux/drivers/media/dvb/frontends/stb0899_drv.c index 9346fb443..5d19b9ca0 100644 --- a/linux/drivers/media/dvb/frontends/stb0899_drv.c +++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c @@ -611,7 +611,7 @@ static void stb0899_init_calc(struct stb0899_state *state)  {  	struct stb0899_internal *internal = &state->internal;  	int master_clk; -	u8 agc[1]; +	u8 agc[2];  	u8 agc1cn;  	u32 reg; diff --git a/linux/drivers/media/dvb/frontends/stb6100.c b/linux/drivers/media/dvb/frontends/stb6100.c index 470685ac7..bea9b9306 100644 --- a/linux/drivers/media/dvb/frontends/stb6100.c +++ b/linux/drivers/media/dvb/frontends/stb6100.c @@ -494,7 +494,7 @@ static int stb6100_set_state(struct dvb_frontend *fe,  	switch (param) {  	case DVBFE_TUNER_FREQUENCY:  		stb6100_set_frequency(fe, state->frequency); -		state->frequency = tstate->frequency; +		tstate->frequency = state->frequency;  		break;  	case DVBFE_TUNER_TUNERSTEP:  		break; @@ -502,7 +502,7 @@ static int stb6100_set_state(struct dvb_frontend *fe,  		break;  	case DVBFE_TUNER_BANDWIDTH:  		stb6100_set_bandwidth(fe, state->bandwidth); -		state->bandwidth = tstate->bandwidth; +		tstate->bandwidth = state->bandwidth;  		break;  	case DVBFE_TUNER_REFCLOCK:  		break; | 
