summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-11-09 21:13:58 +0000
committerAndrew de Quincy <devnull@localhost>2004-11-09 21:13:58 +0000
commite239983043f5e7c102c79718f7a2930cabe19f6c (patch)
treeb461057998414cfdf26b3f88c5498d83319a9eb3 /linux/drivers/media/dvb
parent769b4e1fb0f7de64380cadbbe76c73a74ae01f1c (diff)
downloadmediapointer-dvb-s2-e239983043f5e7c102c79718f7a2930cabe19f6c.tar.gz
mediapointer-dvb-s2-e239983043f5e7c102c79718f7a2930cabe19f6c.tar.bz2
Sigh. another stupid bug
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/stv0297.c4
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;
}