Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357116
b: refs/heads/master
c: ce24c25
h: refs/heads/master
v: v3
  • Loading branch information
YAMANE Toshiaki authored and Mauro Carvalho Chehab committed Dec 21, 2012
1 parent 360a118 commit a5eabd8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 5c77dc40c9fe957220b30c1334d8959be554e1d8
refs/heads/master: ce24c25b97b26c3f5a1634b2919b50a053eabc01
12 changes: 6 additions & 6 deletions trunk/drivers/staging/media/lirc/lirc_igorplugusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,17 +223,17 @@ static int unregister_from_lirc(struct igorplug *ir)
int devnum;

if (!ir) {
printk(KERN_ERR "%s: called with NULL device struct!\n",
__func__);
dev_err(&ir->usbdev->dev,
"%s: called with NULL device struct!\n", __func__);
return -EINVAL;
}

devnum = ir->devnum;
d = ir->d;

if (!d) {
printk(KERN_ERR "%s: called with NULL lirc driver struct!\n",
__func__);
dev_err(&ir->usbdev->dev,
"%s: called with NULL lirc driver struct!\n", __func__);
return -EINVAL;
}

Expand Down Expand Up @@ -347,8 +347,8 @@ static int igorplugusb_remote_poll(void *data, struct lirc_buffer *buf)
if (ir->buf_in[2] == 0)
send_fragment(ir, buf, DEVICE_HEADERLEN, ret);
else {
printk(KERN_WARNING DRIVER_NAME
"[%d]: Device buffer overrun.\n", ir->devnum);
dev_warn(&ir->usbdev->dev,
"[%d]: Device buffer overrun.\n", ir->devnum);
/* HHHNNNNNNNNNNNOOOOOOOO H = header
<---[2]---> N = newer
<---------ret--------> O = older */
Expand Down

0 comments on commit a5eabd8

Please sign in to comment.