diff options
-rw-r--r-- | drivers/media/video/cx23885/cx23885-i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-i2c.c b/drivers/media/video/cx23885/cx23885-i2c.c index d4746e064516..154c914ae16f 100644 --- a/drivers/media/video/cx23885/cx23885-i2c.c +++ b/drivers/media/video/cx23885/cx23885-i2c.c | |||
@@ -99,7 +99,7 @@ static int i2c_sendbytes(struct i2c_adapter *i2c_adap, | |||
99 | if (!i2c_wait_done(i2c_adap)) | 99 | if (!i2c_wait_done(i2c_adap)) |
100 | return -EIO; | 100 | return -EIO; |
101 | if (!i2c_slave_did_ack(i2c_adap)) | 101 | if (!i2c_slave_did_ack(i2c_adap)) |
102 | return -EIO; | 102 | return -ENXIO; |
103 | 103 | ||
104 | dprintk(1, "%s() returns 0\n", __func__); | 104 | dprintk(1, "%s() returns 0\n", __func__); |
105 | return 0; | 105 | return 0; |
@@ -185,7 +185,7 @@ static int i2c_readbytes(struct i2c_adapter *i2c_adap, | |||
185 | if (!i2c_wait_done(i2c_adap)) | 185 | if (!i2c_wait_done(i2c_adap)) |
186 | return -EIO; | 186 | return -EIO; |
187 | if (!i2c_slave_did_ack(i2c_adap)) | 187 | if (!i2c_slave_did_ack(i2c_adap)) |
188 | return -EIO; | 188 | return -ENXIO; |
189 | 189 | ||
190 | 190 | ||
191 | dprintk(1, "%s() returns 0\n", __func__); | 191 | dprintk(1, "%s() returns 0\n", __func__); |