diff options
author | Mike Isely <isely@pobox.com> | 2006-03-25 16:36:18 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-03-25 16:36:18 -0600 |
commit | 099cf0ca3267af67d3db7c4587001e7f5a3877b3 (patch) | |
tree | 92696a169f78d3d3a637e93e1a9efc10e1fa3ee6 /linux/drivers | |
parent | 79c5d3b305af947949689365801773a3aaa38eb9 (diff) | |
download | mediapointer-dvb-s2-099cf0ca3267af67d3db7c4587001e7f5a3877b3.tar.gz mediapointer-dvb-s2-099cf0ca3267af67d3db7c4587001e7f5a3877b3.tar.bz2 |
Use hex for printing I2C addresses in pvrusb2
From: Mike Isely <isely@pobox.com>
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c index 8ec637e5e..35224c678 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c @@ -88,7 +88,7 @@ static int pvr2_i2c_write(struct pvr2_hdw *hdw, /* Context */ } } #if 0 - trace_i2c("i2c_write(%d) len=%d ret=%d stat=%d",i2c_addr,length,ret, + trace_i2c("i2c_write(0x%x) len=%d ret=%d stat=%d",i2c_addr,length,ret, hdw->cmd_buffer[0]); #endif @@ -146,7 +146,7 @@ static int pvr2_i2c_read(struct pvr2_hdw *hdw, /* Context */ } #if 0 - trace_i2c("i2c_read(%d) wlen=%d rlen=%d ret=%d stat=%d", + trace_i2c("i2c_read(0x%x) wlen=%d rlen=%d ret=%d stat=%d", i2c_addr,dlen,rlen,ret,hdw->cmd_buffer[0]); #endif /* Copy back the result */ |