aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_core.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_core.c b/drivers/media/dvb/dvb-usb/dib0700_core.c
index acaa4267eb6c..db7f7f79a66c 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_core.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_core.c
@@ -158,6 +158,10 @@ static int dib0700_i2c_xfer_new(struct i2c_adapter *adap, struct i2c_msg *msg,
158 err("i2c read error (status = %d)\n", result); 158 err("i2c read error (status = %d)\n", result);
159 break; 159 break;
160 } 160 }
161
162 deb_data("<<< ");
163 debug_dump(msg[i].buf, msg[i].len, deb_data);
164
161 } else { 165 } else {
162 /* Write request */ 166 /* Write request */
163 buf[0] = REQUEST_NEW_I2C_WRITE; 167 buf[0] = REQUEST_NEW_I2C_WRITE;
@@ -169,6 +173,9 @@ static int dib0700_i2c_xfer_new(struct i2c_adapter *adap, struct i2c_msg *msg,
169 /* The Actual i2c payload */ 173 /* The Actual i2c payload */
170 memcpy(&buf[4], msg[i].buf, msg[i].len); 174 memcpy(&buf[4], msg[i].buf, msg[i].len);
171 175
176 deb_data(">>> ");
177 debug_dump(buf, msg[i].len + 4, deb_data);
178
172 result = usb_control_msg(d->udev, 179 result = usb_control_msg(d->udev,
173 usb_sndctrlpipe(d->udev, 0), 180 usb_sndctrlpipe(d->udev, 0),
174 REQUEST_NEW_I2C_WRITE, 181 REQUEST_NEW_I2C_WRITE,