Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5449
b: refs/heads/master
c: 33fdfa9
h: refs/heads/master
i:
  5447: d776683
v: v3
  • Loading branch information
Sergey Vlasov authored and Dmitry Torokhov committed Jul 24, 2005
1 parent a60d0e8 commit 03a66c6
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5ac7ba3ff599d66ffde182676f2e4fbcac61a2fe
refs/heads/master: 33fdfa97f2b3aab698ef849ec50dcc5102017f0a
4 changes: 2 additions & 2 deletions trunk/drivers/input/mouse/synaptics.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ static void synaptics_pass_pt_packet(struct serio *ptport, unsigned char *packet
serio_interrupt(ptport, packet[1], 0, NULL);
serio_interrupt(ptport, packet[4], 0, NULL);
serio_interrupt(ptport, packet[5], 0, NULL);
if (child->type >= PSMOUSE_GENPS)
if (child->pktsize == 4)
serio_interrupt(ptport, packet[2], 0, NULL);
} else
serio_interrupt(ptport, packet[1], 0, NULL);
Expand All @@ -233,7 +233,7 @@ static void synaptics_pt_activate(struct psmouse *psmouse)

/* adjust the touchpad to child's choice of protocol */
if (child) {
if (child->type >= PSMOUSE_GENPS)
if (child->pktsize == 4)
priv->mode |= SYN_BIT_FOUR_BYTE_CLIENT;
else
priv->mode &= ~SYN_BIT_FOUR_BYTE_CLIENT;
Expand Down

0 comments on commit 03a66c6

Please sign in to comment.