Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26362
b: refs/heads/master
c: 8fdc194
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Torokhov committed Apr 29, 2006
1 parent 0ef5d86 commit 62b70de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08791e5cf62b6952ca32106aebb79b6066005de4
refs/heads/master: 8fdc19486f4d3b0fc5f1c7ce69fe5f7b1c653e62
3 changes: 3 additions & 0 deletions trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ void input_event(struct input_dev *dev, unsigned int type, unsigned int code, in
if (code > SND_MAX || !test_bit(code, dev->sndbit))
return;

if (!!test_bit(code, dev->snd) != !!value)
change_bit(code, dev->snd);

if (dev->event) dev->event(dev, type, code, value);

break;
Expand Down

0 comments on commit 62b70de

Please sign in to comment.