summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_i2c.c
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-01-10 22:53:18 +0000
committerMichael Hunold <devnull@localhost>2003-01-10 22:53:18 +0000
commitfc5c5844077c7478f7d0b67a1a7967f79d9376ba (patch)
tree3fa2be55940704feeb1dcac8cb8f7f60174870d6 /linux/drivers/media/common/saa7146_i2c.c
parent7a3f9d523410405ddeb5a18045135d08a81981a0 (diff)
downloadmediapointer-dvb-s2-fc5c5844077c7478f7d0b67a1a7967f79d9376ba.tar.gz
mediapointer-dvb-s2-fc5c5844077c7478f7d0b67a1a7967f79d9376ba.tar.bz2
- Fix broken i2c irq transfer, due to Holger's changes
- clean up the mxb driver and it's helper modules (rename the structures, add GPL license to the appropriate files, c99 initialisers) - fix 2.5.55 "module insertion causes bug in kobject.o" issue - fixed missing exported symbols in budget-core
Diffstat (limited to 'linux/drivers/media/common/saa7146_i2c.c')
-rw-r--r--linux/drivers/media/common/saa7146_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/saa7146_i2c.c b/linux/drivers/media/common/saa7146_i2c.c
index 12d4ad655..adbf61aa6 100644
--- a/linux/drivers/media/common/saa7146_i2c.c
+++ b/linux/drivers/media/common/saa7146_i2c.c
@@ -299,7 +299,7 @@ int saa7146_i2c_transfer(struct saa7146_dev *dev, const struct i2c_msg msgs[], i
err = saa7146_i2c_writeout(dev, &buffer[i] );
if ( 0 != err) {
/* if address-error occured, donīt retry */
- if ( -2 == err ) {
+ if ( -EREMOTEIO == err ) {
goto out;
}
DEB_I2C(("error while sending message(s). starting again.\n"));