The patch number 9428 was added via Manu Abraham <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Marko Schluessler  <[EMAIL PROTECTED]>
Fix: assignment of wrong values


Signed-off-by: Marko Schluessler <[EMAIL PROTECTED]>
Signed-off-by: Manu Abraham <[EMAIL PROTECTED]>


---

 linux/drivers/media/dvb/frontends/stb0899_algo.c |    2 +-
 linux/drivers/media/dvb/frontends/stb0899_drv.c  |    2 +-
 linux/drivers/media/dvb/frontends/stb6100.c      |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff -r 9afebe92bd4c -r e983d6f1f30c 
linux/drivers/media/dvb/frontends/stb0899_algo.c
--- a/linux/drivers/media/dvb/frontends/stb0899_algo.c  Fri Oct 19 13:27:56 
2007 +0400
+++ b/linux/drivers/media/dvb/frontends/stb0899_algo.c  Wed Oct 24 02:56:18 
2007 +0400
@@ -515,7 +515,7 @@ enum stb0899_status stb0899_dvbs_algo(st
        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 -r 9afebe92bd4c -r e983d6f1f30c 
linux/drivers/media/dvb/frontends/stb0899_drv.c
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c   Fri Oct 19 13:27:56 
2007 +0400
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c   Wed Oct 24 02:56:18 
2007 +0400
@@ -611,7 +611,7 @@ static void stb0899_init_calc(struct stb
 {
        struct stb0899_internal *internal = &state->internal;
        int master_clk;
-       u8 agc[1];
+       u8 agc[2];
        u8 agc1cn;
        u32 reg;
 
diff -r 9afebe92bd4c -r e983d6f1f30c linux/drivers/media/dvb/frontends/stb6100.c
--- a/linux/drivers/media/dvb/frontends/stb6100.c       Fri Oct 19 13:27:56 
2007 +0400
+++ b/linux/drivers/media/dvb/frontends/stb6100.c       Wed Oct 24 02:56:18 
2007 +0400
@@ -494,7 +494,7 @@ static int stb6100_set_state(struct dvb_
        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_
                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;


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/e983d6f1f30ccb79f42aa79c3dd3de97ac056243

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to