Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137806
b: refs/heads/master
c: d251499
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent a3e79b5 commit dc18790
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8afe6ad6176205b9612110b8f64dbf3325a1c236
refs/heads/master: d251499119e4e893cbf6f7aa134dc80bb9ddd73a
7 changes: 7 additions & 0 deletions trunk/drivers/media/dvb/dvb-usb/dib0700_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ static int dib0700_i2c_xfer_new(struct i2c_adapter *adap, struct i2c_msg *msg,
err("i2c read error (status = %d)\n", result);
break;
}

deb_data("<<< ");
debug_dump(msg[i].buf, msg[i].len, deb_data);

} else {
/* Write request */
buf[0] = REQUEST_NEW_I2C_WRITE;
Expand All @@ -169,6 +173,9 @@ static int dib0700_i2c_xfer_new(struct i2c_adapter *adap, struct i2c_msg *msg,
/* The Actual i2c payload */
memcpy(&buf[4], msg[i].buf, msg[i].len);

deb_data(">>> ");
debug_dump(buf, msg[i].len + 4, deb_data);

result = usb_control_msg(d->udev,
usb_sndctrlpipe(d->udev, 0),
REQUEST_NEW_I2C_WRITE,
Expand Down

0 comments on commit dc18790

Please sign in to comment.