summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/av7110/saa7146.c
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2002-10-24 15:58:33 +0000
committerHolger Waechtler <devnull@localhost>2002-10-24 15:58:33 +0000
commit77be1743afc7809a2e4d168b6a65c12630edb23d (patch)
tree3b997e63c70169e3444b587074135beb5e985564 /linux/drivers/media/dvb/av7110/saa7146.c
parent3e396502592e4a6d5de686d642b720519f8ca8a4 (diff)
downloadmediapointer-dvb-s2-77be1743afc7809a2e4d168b6a65c12630edb23d.tar.gz
mediapointer-dvb-s2-77be1743afc7809a2e4d168b6a65c12630edb23d.tar.bz2
minor cleanup, introduce an i2c semaphore
Diffstat (limited to 'linux/drivers/media/dvb/av7110/saa7146.c')
-rw-r--r--linux/drivers/media/dvb/av7110/saa7146.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/av7110/saa7146.c b/linux/drivers/media/dvb/av7110/saa7146.c
index d0ef805dd..a636af50c 100644
--- a/linux/drivers/media/dvb/av7110/saa7146.c
+++ b/linux/drivers/media/dvb/av7110/saa7146.c
@@ -1399,7 +1399,7 @@ int i2c_reset(struct saa7146* saa)
/* if any error is still present, a fatal error has occured ... */
if ( SAA7146_I2C_BBR != (status = i2c_status_check(saa)) ) {
hprintk("saa7146: i2c_reset: fatal error, status:0x%08x\n",status);
- return -1;
+ return -EIO;
}
return 0;