diff options
author | Holger Waechtler <devnull@localhost> | 2002-10-24 15:58:33 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2002-10-24 15:58:33 +0000 |
commit | 77be1743afc7809a2e4d168b6a65c12630edb23d (patch) | |
tree | 3b997e63c70169e3444b587074135beb5e985564 /linux/drivers/media/dvb/av7110/saa7146.c | |
parent | 3e396502592e4a6d5de686d642b720519f8ca8a4 (diff) | |
download | mediapointer-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.c | 2 |
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; |