Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234051
b: refs/heads/master
c: 67914b5
h: refs/heads/master
i:
  234049: ee24a8c
  234047: 9b182fe
v: v3
  • Loading branch information
Andy Walls authored and Mauro Carvalho Chehab committed Mar 2, 2011
1 parent eb28dbf commit 4073477
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e192a7cf0effe7680264a5bc35c0ad1bdcdc921c
refs/heads/master: 67914b5c400d6c213f9e56d7547a2038ab5c06f4
8 changes: 0 additions & 8 deletions trunk/drivers/media/video/cx23885/cx23885-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,6 @@ static int i2c_sendbytes(struct i2c_adapter *i2c_adap,

if (!i2c_wait_done(i2c_adap))
goto eio;
if (!i2c_slave_did_ack(i2c_adap)) {
retval = -ENXIO;
goto err;
}
if (i2c_debug) {
printk(" <W %02x %02x", msg->addr << 1, msg->buf[0]);
if (!(ctrl & I2C_NOSTOP))
Expand Down Expand Up @@ -209,10 +205,6 @@ static int i2c_readbytes(struct i2c_adapter *i2c_adap,

if (!i2c_wait_done(i2c_adap))
goto eio;
if (cnt == 0 && !i2c_slave_did_ack(i2c_adap)) {
retval = -ENXIO;
goto err;
}
msg->buf[cnt] = cx_read(bus->reg_rdata) & 0xff;
if (i2c_debug) {
dprintk(1, " %02x", msg->buf[cnt]);
Expand Down

0 comments on commit 4073477

Please sign in to comment.