aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7110.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/saa7110.c')
-rw-r--r--drivers/media/video/saa7110.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/media/video/saa7110.c b/drivers/media/video/saa7110.c
index 7bb85a7b326e..20cad9fc99ef 100644
--- a/drivers/media/video/saa7110.c
+++ b/drivers/media/video/saa7110.c
@@ -432,15 +432,13 @@ saa7110_command (struct i2c_client *client,
432 break; 432 break;
433 433
434 case DECODER_DUMP: 434 case DECODER_DUMP:
435 for (v = 0; v < 0x34; v += 16) { 435 for (v = 0; v < SAA7110_NR_REG; v += 16) {
436 int j; 436 int j;
437 dprintk(1, KERN_INFO "%s: %03x\n", I2C_NAME(client), 437 dprintk(1, KERN_DEBUG "%s: %02x:", I2C_NAME(client),
438 v); 438 v);
439 for (j = 0; j < 16; j++) { 439 for (j = 0; j < 16 && v + j < SAA7110_NR_REG; j++)
440 dprintk(1, KERN_INFO " %02x", 440 dprintk(1, " %02x", decoder->reg[v + j]);
441 decoder->reg[v + j]); 441 dprintk(1, "\n");
442 }
443 dprintk(1, KERN_INFO "\n");
444 } 442 }
445 break; 443 break;
446 444