diff options
author | Steven Toth <stoth@hauppauge.com> | 2008-06-30 19:54:34 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-26 11:54:25 -0400 |
commit | 7b9139086abca60b762d1b01231db88abfb666d5 (patch) | |
tree | bd5d0f3588510f7ec27944247c1a8a84d019ea49 /drivers/media/video | |
parent | 52ce27bfc4d302a3e28267a5820a8b031ceccee9 (diff) |
V4L/DVB (8467): cx23885: Minor cleanup to the debuging output for a specific register.
Don't display the register when it's not appropriate for the specific port.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-core.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index b96016d1d0fe..83067a49a7b7 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c | |||
@@ -1011,8 +1011,9 @@ static void cx23885_tsport_reg_dump(struct cx23885_tsport *port) | |||
1011 | port->reg_gpcnt_ctl, cx_read(port->reg_gpcnt_ctl)); | 1011 | port->reg_gpcnt_ctl, cx_read(port->reg_gpcnt_ctl)); |
1012 | dprintk(1, "%s() dma_ctl(0x%08X) 0x%08x\n", __func__, | 1012 | dprintk(1, "%s() dma_ctl(0x%08X) 0x%08x\n", __func__, |
1013 | port->reg_dma_ctl, cx_read(port->reg_dma_ctl)); | 1013 | port->reg_dma_ctl, cx_read(port->reg_dma_ctl)); |
1014 | dprintk(1, "%s() src_sel(0x%08X) 0x%08x\n", __func__, | 1014 | if (port->reg_src_sel) |
1015 | port->reg_src_sel, cx_read(port->reg_src_sel)); | 1015 | dprintk(1, "%s() src_sel(0x%08X) 0x%08x\n", __func__, |
1016 | port->reg_src_sel, cx_read(port->reg_src_sel)); | ||
1016 | dprintk(1, "%s() lngth(0x%08X) 0x%08x\n", __func__, | 1017 | dprintk(1, "%s() lngth(0x%08X) 0x%08x\n", __func__, |
1017 | port->reg_lngth, cx_read(port->reg_lngth)); | 1018 | port->reg_lngth, cx_read(port->reg_lngth)); |
1018 | dprintk(1, "%s() hw_sop_ctrl(0x%08X) 0x%08x\n", __func__, | 1019 | dprintk(1, "%s() hw_sop_ctrl(0x%08X) 0x%08x\n", __func__, |