.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * PS/2 mouse driver |
---|
3 | 4 | * |
---|
.. | .. |
---|
5 | 6 | * Copyright (c) 2003-2004 Dmitry Torokhov |
---|
6 | 7 | */ |
---|
7 | 8 | |
---|
8 | | -/* |
---|
9 | | - * This program is free software; you can redistribute it and/or modify it |
---|
10 | | - * under the terms of the GNU General Public License version 2 as published by |
---|
11 | | - * the Free Software Foundation. |
---|
12 | | - */ |
---|
13 | 9 | |
---|
14 | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
15 | 11 | #define psmouse_fmt(fmt) fmt |
---|
.. | .. |
---|
373 | 369 | if (ps2_handle_response(&psmouse->ps2dev, data)) |
---|
374 | 370 | goto out; |
---|
375 | 371 | |
---|
| 372 | + pm_wakeup_event(&serio->dev, 0); |
---|
| 373 | + |
---|
376 | 374 | if (psmouse->state <= PSMOUSE_RESYNCING) |
---|
377 | 375 | goto out; |
---|
378 | 376 | |
---|