diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-11 02:00:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:26 -0400 |
commit | b80f770a981db1d1f5a41626792c701f8c5bf973 (patch) | |
tree | eab91f1b5ef509992f547f5f37b0b54a3557533f /drivers/media/video/au0828 | |
parent | dc8685b565d6526aca6aaefb80059d115c124821 (diff) |
V4L/DVB (11075): au0828: make register debug lines easier to read
Make it a little easier to read the debug messages for register read/write
operations
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828')
-rw-r--r-- | drivers/media/video/au0828/au0828-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/au0828/au0828-core.c b/drivers/media/video/au0828/au0828-core.c index 0bc85b7d67d4..f47fd9d78fa0 100644 --- a/drivers/media/video/au0828/au0828-core.c +++ b/drivers/media/video/au0828/au0828-core.c | |||
@@ -51,13 +51,13 @@ static int recv_control_msg(struct au0828_dev *dev, u16 request, u32 value, | |||
51 | u32 au0828_readreg(struct au0828_dev *dev, u16 reg) | 51 | u32 au0828_readreg(struct au0828_dev *dev, u16 reg) |
52 | { | 52 | { |
53 | recv_control_msg(dev, CMD_REQUEST_IN, 0, reg, dev->ctrlmsg, 1); | 53 | recv_control_msg(dev, CMD_REQUEST_IN, 0, reg, dev->ctrlmsg, 1); |
54 | dprintk(8, "%s(0x%x) = 0x%x\n", __func__, reg, dev->ctrlmsg[0]); | 54 | dprintk(8, "%s(0x%04x) = 0x%02x\n", __func__, reg, dev->ctrlmsg[0]); |
55 | return dev->ctrlmsg[0]; | 55 | return dev->ctrlmsg[0]; |
56 | } | 56 | } |
57 | 57 | ||
58 | u32 au0828_writereg(struct au0828_dev *dev, u16 reg, u32 val) | 58 | u32 au0828_writereg(struct au0828_dev *dev, u16 reg, u32 val) |
59 | { | 59 | { |
60 | dprintk(8, "%s(0x%x, 0x%x)\n", __func__, reg, val); | 60 | dprintk(8, "%s(0x%04x, 0x%02x)\n", __func__, reg, val); |
61 | return send_control_msg(dev, CMD_REQUEST_OUT, val, reg, | 61 | return send_control_msg(dev, CMD_REQUEST_OUT, val, reg, |
62 | dev->ctrlmsg, 0); | 62 | dev->ctrlmsg, 0); |
63 | } | 63 | } |