Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268580
b: refs/heads/master
c: 1e46e62
h: refs/heads/master
v: v3
  • Loading branch information
Julian Andres Klode authored and Greg Kroah-Hartman committed Sep 30, 2011
1 parent 671846b commit 44ad1a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: ff006d12667153a5ee187c834ac328dfd5afb0a2
refs/heads/master: 1e46e6273bc62d87c1eb984d2a2b16efa6b19641
5 changes: 3 additions & 2 deletions trunk/drivers/staging/nvec/nvec_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "nvec.h"

#define START_STREAMING {'\x06', '\x03', '\x01'}
#define START_STREAMING {'\x06', '\x03', '\x04'}
#define STOP_STREAMING {'\x06', '\x04'}
#define SEND_COMMAND {'\x06', '\x01', '\xf4', '\x01'}

Expand Down Expand Up @@ -65,7 +65,8 @@ static int nvec_ps2_notifier(struct notifier_block *nb,

switch (event_type) {
case NVEC_PS2_EVT:
serio_interrupt(ps2_dev.ser_dev, msg[2], 0);
for (i = 0; i < msg[1]; i++)
serio_interrupt(ps2_dev.ser_dev, msg[2 + i], 0);
return NOTIFY_STOP;

case NVEC_PS2:
Expand Down

0 comments on commit 44ad1a7

Please sign in to comment.