aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/media/lirc/lirc_igorplugusb.c4
-rw-r--r--drivers/staging/media/lirc/lirc_zilog.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/media/lirc/lirc_igorplugusb.c b/drivers/staging/media/lirc/lirc_igorplugusb.c
index 7a2501776679..939a801c23e4 100644
--- a/drivers/staging/media/lirc/lirc_igorplugusb.c
+++ b/drivers/staging/media/lirc/lirc_igorplugusb.c
@@ -325,8 +325,8 @@ static int igorplugusb_remote_poll(void *data, struct lirc_buffer *buf)
325 if (ret < DEVICE_HEADERLEN) 325 if (ret < DEVICE_HEADERLEN)
326 return -ENODATA; 326 return -ENODATA;
327 327
328 dprintk(DRIVER_NAME ": Got %d bytes. Header: %02x %02x %02x\n", 328 dprintk(DRIVER_NAME ": Got %d bytes. Header: %*ph\n",
329 ret, ir->buf_in[0], ir->buf_in[1], ir->buf_in[2]); 329 ret, 3, ir->buf_in);
330 330
331 do_gettimeofday(&now); 331 do_gettimeofday(&now);
332 timediff = now.tv_sec - ir->last_time.tv_sec; 332 timediff = now.tv_sec - ir->last_time.tv_sec;
diff --git a/drivers/staging/media/lirc/lirc_zilog.c b/drivers/staging/media/lirc/lirc_zilog.c
index 76ea4a8f2c75..11d5338b4f2f 100644
--- a/drivers/staging/media/lirc/lirc_zilog.c
+++ b/drivers/staging/media/lirc/lirc_zilog.c
@@ -658,8 +658,7 @@ static int send_data_block(struct IR_tx *tx, unsigned char *data_block)
658 buf[0] = (unsigned char)(i + 1); 658 buf[0] = (unsigned char)(i + 1);
659 for (j = 0; j < tosend; ++j) 659 for (j = 0; j < tosend; ++j)
660 buf[1 + j] = data_block[i + j]; 660 buf[1 + j] = data_block[i + j];
661 dprintk("%02x %02x %02x %02x %02x", 661 dprintk("%*ph", 5, buf);
662 buf[0], buf[1], buf[2], buf[3], buf[4]);
663 ret = i2c_master_send(tx->c, buf, tosend + 1); 662 ret = i2c_master_send(tx->c, buf, tosend + 1);
664 if (ret != tosend + 1) { 663 if (ret != tosend + 1) {
665 zilog_error("i2c_master_send failed with %d\n", ret); 664 zilog_error("i2c_master_send failed with %d\n", ret);