Commit 0d0fb8d
FROMLIST: USB: core: Enable root_hub's remote wakeup for wakeup sources
Now we only enable the remote wakeup function for the USB wakeup source
itself at usb_port_suspend(). But on pre-XHCI controllers this is not
enough to enable the S3 wakeup function for USB keyboards, so we also
enable the root_hub's remote wakeup (and disable it on error). Frankly
this is unnecessary for XHCI, but enable it unconditionally make code
simple and seems harmless.
Cc: stable@vger.kernel.org
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://lore.kernel.org/all/20250131100630.342995-1-chenhuacai@loongson.cn/
Signed-off-by: Kexy Biscuit <kexybiscuit@aosc.io>1 parent 980ab29 commit 0d0fb8d
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3522 | 3522 | | |
3523 | 3523 | | |
3524 | 3524 | | |
| 3525 | + | |
3525 | 3526 | | |
3526 | 3527 | | |
3527 | 3528 | | |
| |||
3585 | 3586 | | |
3586 | 3587 | | |
3587 | 3588 | | |
3588 | | - | |
| 3589 | + | |
3589 | 3590 | | |
| 3591 | + | |
| 3592 | + | |
3590 | 3593 | | |
3591 | 3594 | | |
3592 | 3595 | | |
| |||
0 commit comments