summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/av7110/saa7146.c
diff options
context:
space:
mode:
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;