summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-11 02:00:57 -0400
committerDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-11 02:00:57 -0400
commitbfd1ef181a59f27524db364c847f27957694de75 (patch)
tree7b228c9c644ca190fca6a3858575c698e385ce2b /linux/drivers/media/video/au0828
parent410e73da32e723f9ec79be9d6940568dec36c828 (diff)
downloadmediapointer-dvb-s2-bfd1ef181a59f27524db364c847f27957694de75.tar.gz
mediapointer-dvb-s2-bfd1ef181a59f27524db364c847f27957694de75.tar.bz2
au0828: make register debug lines easier to read
From: Devin Heitmueller <dheitmueller@linuxtv.org> Make it a little easier to read the debug messages for register read/write operations Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/au0828')
-rw-r--r--linux/drivers/media/video/au0828/au0828-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-core.c b/linux/drivers/media/video/au0828/au0828-core.c
index 4eca268bb..e5c399902 100644
--- a/linux/drivers/media/video/au0828/au0828-core.c
+++ b/linux/drivers/media/video/au0828/au0828-core.c
@@ -52,13 +52,13 @@ static int recv_control_msg(struct au0828_dev *dev, u16 request, u32 value,
u32 au0828_readreg(struct au0828_dev *dev, u16 reg)
{
recv_control_msg(dev, CMD_REQUEST_IN, 0, reg, dev->ctrlmsg, 1);
- dprintk(8, "%s(0x%x) = 0x%x\n", __func__, reg, dev->ctrlmsg[0]);
+ dprintk(8, "%s(0x%04x) = 0x%02x\n", __func__, reg, dev->ctrlmsg[0]);
return dev->ctrlmsg[0];
}
u32 au0828_writereg(struct au0828_dev *dev, u16 reg, u32 val)
{
- dprintk(8, "%s(0x%x, 0x%x)\n", __func__, reg, val);
+ dprintk(8, "%s(0x%04x, 0x%02x)\n", __func__, reg, val);
return send_control_msg(dev, CMD_REQUEST_OUT, val, reg,
dev->ctrlmsg, 0);
}