Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343867
b: refs/heads/master
c: 895507c
h: refs/heads/master
i:
  343865: 644a4f3
  343863: a97f242
v: v3
  • Loading branch information
Paul Bolle authored and Mauro Carvalho Chehab committed Oct 28, 2012
1 parent 3262485 commit a6712ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 0dec86886c4836081a3327bd735cfa4745c1e048
refs/heads/master: 895507c19f88b7bbf82f24737d86cca0398647cb
6 changes: 5 additions & 1 deletion trunk/drivers/staging/media/lirc/lirc_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1239,6 +1239,10 @@ static int __init lirc_serial_init_module(void)
}
}

/* make sure sense is either -1, 0, or 1 */
if (sense != -1)
sense = !!sense;

result = lirc_serial_init();
if (result)
return result;
Expand Down Expand Up @@ -1298,7 +1302,7 @@ MODULE_PARM_DESC(irq, "Interrupt (4 or 3)");
module_param(share_irq, bool, S_IRUGO);
MODULE_PARM_DESC(share_irq, "Share interrupts (0 = off, 1 = on)");

module_param(sense, bool, S_IRUGO);
module_param(sense, int, S_IRUGO);
MODULE_PARM_DESC(sense, "Override autodetection of IR receiver circuit"
" (0 = active high, 1 = active low )");

Expand Down

0 comments on commit a6712ad

Please sign in to comment.