Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330812
b: refs/heads/master
c: 727b81d
h: refs/heads/master
v: v3
  • Loading branch information
Andy Shevchenko authored and Mauro Carvalho Chehab committed Aug 13, 2012
1 parent 23ea6e7 commit 0e557e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 28e9cc8056bddce5863e455028369cd3b01ef941
refs/heads/master: 727b81da25dd7a7374837c0d0e6189bb3f6ae202
4 changes: 2 additions & 2 deletions trunk/drivers/staging/media/lirc/lirc_igorplugusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ static int igorplugusb_remote_poll(void *data, struct lirc_buffer *buf)
if (ret < DEVICE_HEADERLEN)
return -ENODATA;

dprintk(DRIVER_NAME ": Got %d bytes. Header: %02x %02x %02x\n",
ret, ir->buf_in[0], ir->buf_in[1], ir->buf_in[2]);
dprintk(DRIVER_NAME ": Got %d bytes. Header: %*ph\n",
ret, 3, ir->buf_in);

do_gettimeofday(&now);
timediff = now.tv_sec - ir->last_time.tv_sec;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/staging/media/lirc/lirc_zilog.c
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,7 @@ static int send_data_block(struct IR_tx *tx, unsigned char *data_block)
buf[0] = (unsigned char)(i + 1);
for (j = 0; j < tosend; ++j)
buf[1 + j] = data_block[i + j];
dprintk("%02x %02x %02x %02x %02x",
buf[0], buf[1], buf[2], buf[3], buf[4]);
dprintk("%*ph", 5, buf);
ret = i2c_master_send(tx->c, buf, tosend + 1);
if (ret != tosend + 1) {
zilog_error("i2c_master_send failed with %d\n", ret);
Expand Down

0 comments on commit 0e557e4

Please sign in to comment.