diff options
author | Andrew de Quincy <devnull@localhost> | 2004-11-09 21:13:58 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2004-11-09 21:13:58 +0000 |
commit | e239983043f5e7c102c79718f7a2930cabe19f6c (patch) | |
tree | b461057998414cfdf26b3f88c5498d83319a9eb3 | |
parent | 769b4e1fb0f7de64380cadbbe76c73a74ae01f1c (diff) | |
download | mediapointer-dvb-s2-e239983043f5e7c102c79718f7a2930cabe19f6c.tar.gz mediapointer-dvb-s2-e239983043f5e7c102c79718f7a2930cabe19f6c.tar.bz2 |
Sigh. another stupid bug
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0297.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0297.c b/linux/drivers/media/dvb/frontends/stv0297.c index 6a007a1ae..f488f6c47 100644 --- a/linux/drivers/media/dvb/frontends/stv0297.c +++ b/linux/drivers/media/dvb/frontends/stv0297.c @@ -201,12 +201,12 @@ static int stv0297_readregs (struct stv0297_state* state, u8 reg1, u8 *b, u8 len // this device needs a STOP between the register and data if ((ret = i2c_transfer (state->i2c, &msg[0], 1)) != 1) { dprintk("%s: readreg error (reg == 0x%02x, ret == %i)\n", - __FUNCTION__, reg, ret); + __FUNCTION__, reg1, ret); return -1; } if ((ret = i2c_transfer (state->i2c, &msg[1], 1)) != 1) { dprintk("%s: readreg error (reg == 0x%02x, ret == %i)\n", - __FUNCTION__, reg, ret); + __FUNCTION__, reg1, ret); return -1; } |