Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330821
b: refs/heads/master
c: 1d16e6d
h: refs/heads/master
i:
  330819: 012ad3a
v: v3
  • Loading branch information
Andy Shevchenko authored and Mauro Carvalho Chehab committed Aug 13, 2012
1 parent f6783ab commit 9ce9df3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 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: 6f28f75a6df713559e675fbfd21ab1f7fbe8a20f
refs/heads/master: 1d16e6d3965bff8d96995132a3b6beab7841e842
3 changes: 1 addition & 2 deletions trunk/drivers/media/dvb/dvb-usb-v2/af9015.c
Original file line number Diff line number Diff line change
Expand Up @@ -1199,8 +1199,7 @@ static int af9015_rc_query(struct dvb_usb_device *d)

/* Only process key if canary killed */
if (buf[16] != 0xff && buf[0] != 0x01) {
deb_rc("%s: key pressed %02x %02x %02x %02x\n", __func__,
buf[12], buf[13], buf[14], buf[15]);
deb_rc("%s: key pressed %*ph\n", __func__, 4, buf + 12);

/* Reset the canary */
ret = af9015_write_reg(d, 0x98e9, 0xff);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/media/dvb/dvb-usb-v2/af9035.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,7 @@ static int af9035_identify_state(struct dvb_usb_device *d, const char **name)
if (ret < 0)
goto err;

pr_debug("%s: reply=%02x %02x %02x %02x\n", __func__,
rbuf[0], rbuf[1], rbuf[2], rbuf[3]);
pr_debug("%s: reply=%*ph\n", __func__, 4, rbuf);
if (rbuf[0] || rbuf[1] || rbuf[2] || rbuf[3])
ret = WARM;
else
Expand Down
7 changes: 3 additions & 4 deletions trunk/drivers/media/dvb/dvb-usb/pctv452e.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ static int tt3650_ci_msg(struct dvb_usb_device *d, u8 cmd, u8 *data,
return 0;

failed:
err("CI error %d; %02X %02X %02X -> %02X %02X %02X.",
ret, SYNC_BYTE_OUT, id, cmd, buf[0], buf[1], buf[2]);
err("CI error %d; %02X %02X %02X -> %*ph.",
ret, SYNC_BYTE_OUT, id, cmd, 3, buf);

return ret;
}
Expand Down Expand Up @@ -556,8 +556,7 @@ static int pctv452e_rc_query(struct dvb_usb_device *d)
return ret;

if (debug > 3) {
info("%s: read: %2d: %02x %02x %02x: ", __func__,
ret, rx[0], rx[1], rx[2]);
info("%s: read: %2d: %*ph: ", __func__, ret, 3, rx);
for (i = 0; (i < rx[3]) && ((i+3) < PCTV_ANSWER_LEN); i++)
info(" %02x", rx[i+3]);

Expand Down

0 comments on commit 9ce9df3

Please sign in to comment.