From e239983043f5e7c102c79718f7a2930cabe19f6c Mon Sep 17 00:00:00 2001 From: Andrew de Quincy Date: Tue, 9 Nov 2004 21:13:58 +0000 Subject: Sigh. another stupid bug --- linux/drivers/media/dvb/frontends/stv0297.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/dvb/frontends') 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; } -- cgit v1.2.3