diff options
Diffstat (limited to 'drivers/input/mouse/psmouse-base.c')
-rw-r--r-- | drivers/input/mouse/psmouse-base.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c index f8f86de694bb..b407b355dceb 100644 --- a/drivers/input/mouse/psmouse-base.c +++ b/drivers/input/mouse/psmouse-base.c | |||
@@ -327,7 +327,9 @@ static irqreturn_t psmouse_interrupt(struct serio *serio, | |||
327 | goto out; | 327 | goto out; |
328 | } | 328 | } |
329 | 329 | ||
330 | if (psmouse->packet[1] == PSMOUSE_RET_ID) { | 330 | if (psmouse->packet[1] == PSMOUSE_RET_ID || |
331 | (psmouse->type == PSMOUSE_HGPK && | ||
332 | psmouse->packet[1] == PSMOUSE_RET_BAT)) { | ||
331 | __psmouse_set_state(psmouse, PSMOUSE_IGNORE); | 333 | __psmouse_set_state(psmouse, PSMOUSE_IGNORE); |
332 | serio_reconnect(serio); | 334 | serio_reconnect(serio); |
333 | goto out; | 335 | goto out; |