summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2009-01-20 23:40:04 -0500
committerDevin Heitmueller <dheitmueller@linuxtv.org>2009-01-20 23:40:04 -0500
commit4b68b614c42107356972a9cb52d1f78b4b08465c (patch)
treed264c9704058128152599b0123bf17563432e74f /linux/drivers
parentcb5519edc2f73b4d39f212db0bd33f91bf789168 (diff)
downloadmediapointer-dvb-s2-4b68b614c42107356972a9cb52d1f78b4b08465c.tar.gz
mediapointer-dvb-s2-4b68b614c42107356972a9cb52d1f78b4b08465c.tar.bz2
dib0700: fix i2c error message to make data type clear
From: Devin Heitmueller <dheitmueller@linuxtv.org> Make it clear that the address is in hex format. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dib0700_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dib0700_core.c b/linux/drivers/media/dvb/dvb-usb/dib0700_core.c
index 807bff0e1..46c425643 100644
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_core.c
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_core.c
@@ -211,7 +211,8 @@ static int dib0700_i2c_xfer_legacy(struct i2c_adapter *adap,
/* special thing in the current firmware: when length is zero the read-failed */
if ((len = dib0700_ctrl_rd(d, buf, msg[i].len + 2, msg[i+1].buf, msg[i+1].len)) <= 0) {
- deb_info("I2C read failed on address %x\n", msg[i].addr);
+ deb_info("I2C read failed on address 0x%02x\n",
+ msg[i].addr);
break;
}