Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330819
b: refs/heads/master
c: 7c94c69
h: refs/heads/master
i:
  330817: 946b538
  330815: 7f194e7
v: v3
  • Loading branch information
Andy Shevchenko authored and Mauro Carvalho Chehab committed Aug 13, 2012
1 parent ccb643e commit 012ad3a
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 090fdc17bc1a8c481c342be9bb1e32ccdeb32d80
refs/heads/master: 7c94c69d200ce754c148df403025614a2320fec9
11 changes: 3 additions & 8 deletions trunk/drivers/media/rc/ati_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,9 @@ static void ati_remote_dump(struct device *dev, unsigned char *data,
if (data[0] != (unsigned char)0xff && data[0] != 0x00)
dev_warn(dev, "Weird byte 0x%02x\n", data[0]);
} else if (len == 4)
dev_warn(dev, "Weird key %02x %02x %02x %02x\n",
data[0], data[1], data[2], data[3]);
dev_warn(dev, "Weird key %*ph\n", 4, data);
else
dev_warn(dev,
"Weird data, len=%d %02x %02x %02x %02x %02x %02x ...\n",
len, data[0], data[1], data[2], data[3], data[4],
data[5]);
dev_warn(dev, "Weird data, len=%d %*ph ...\n", len, 6, data);
}

/*
Expand Down Expand Up @@ -519,8 +515,7 @@ static void ati_remote_input_report(struct urb *urb)

if (data[1] != ((data[2] + data[3] + 0xd5) & 0xff)) {
dbginfo(&ati_remote->interface->dev,
"wrong checksum in input: %02x %02x %02x %02x\n",
data[0], data[1], data[2], data[3]);
"wrong checksum in input: %*ph\n", 4, data);
return;
}

Expand Down

0 comments on commit 012ad3a

Please sign in to comment.