Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271877
b: refs/heads/master
c: 0224e04
h: refs/heads/master
i:
  271875: 0507ddf
v: v3
  • Loading branch information
Anssi Hannula authored and Mauro Carvalho Chehab committed Sep 22, 2011
1 parent 8c11597 commit 28f639c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 44fd0b600fbc21de9d771f0a5db79d24b321fce7
refs/heads/master: 0224e0401f0b18e1f5fce010558b12fc24257e37
7 changes: 4 additions & 3 deletions trunk/drivers/media/rc/ati_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,10 @@ static struct usb_driver ati_remote_driver = {
static void ati_remote_dump(struct device *dev, unsigned char *data,
unsigned int len)
{
if ((len == 1) && (data[0] != (unsigned char)0xff) && (data[0] != 0x00))
dev_warn(dev, "Weird byte 0x%02x\n", data[0]);
else if (len == 4)
if (len == 1) {
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]);
else
Expand Down

0 comments on commit 28f639c

Please sign in to comment.