aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2012-08-07 11:43:10 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-13 15:40:07 -0400
commit6f28f75a6df713559e675fbfd21ab1f7fbe8a20f (patch)
tree1211f0e9d37bddf8ebbf983050924151641f2753
parent7c94c69d200ce754c148df403025614a2320fec9 (diff)
[media] saa7127: use %*ph to print small buffers
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/saa7127.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/saa7127.c b/drivers/media/video/saa7127.c
index 39c90b08eea8..8ecb6564a315 100644
--- a/drivers/media/video/saa7127.c
+++ b/drivers/media/video/saa7127.c
@@ -364,10 +364,7 @@ static int saa7127_set_vps(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_
364 state->vps_data[2] = data->data[9]; 364 state->vps_data[2] = data->data[9];
365 state->vps_data[3] = data->data[10]; 365 state->vps_data[3] = data->data[10];
366 state->vps_data[4] = data->data[11]; 366 state->vps_data[4] = data->data[11];
367 v4l2_dbg(1, debug, sd, "Set VPS data %02x %02x %02x %02x %02x\n", 367 v4l2_dbg(1, debug, sd, "Set VPS data %*ph\n", 5, state->vps_data);
368 state->vps_data[0], state->vps_data[1],
369 state->vps_data[2], state->vps_data[3],
370 state->vps_data[4]);
371 saa7127_write(sd, 0x55, state->vps_data[0]); 368 saa7127_write(sd, 0x55, state->vps_data[0]);
372 saa7127_write(sd, 0x56, state->vps_data[1]); 369 saa7127_write(sd, 0x56, state->vps_data[1]);
373 saa7127_write(sd, 0x57, state->vps_data[2]); 370 saa7127_write(sd, 0x57, state->vps_data[2]);