hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/input/mouse/psmouse-base.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * PS/2 mouse driver
34 *
....@@ -5,11 +6,6 @@
56 * Copyright (c) 2003-2004 Dmitry Torokhov
67 */
78
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
- */
139
1410 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
1511 #define psmouse_fmt(fmt) fmt
....@@ -373,6 +369,8 @@
373369 if (ps2_handle_response(&psmouse->ps2dev, data))
374370 goto out;
375371
372
+ pm_wakeup_event(&serio->dev, 0);
373
+
376374 if (psmouse->state <= PSMOUSE_RESYNCING)
377375 goto out;
378376