projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3711d44
)
r8152: fix the autosuspend doesn't work
author
Hayes Wang
<hayeswang@realtek.com>
Tue, 2 May 2023 03:36:27 +0000
(11:36 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 3 May 2023 08:12:10 +0000
(09:12 +0100)
Set supports_autosuspend = 1 for the rtl8152_cfgselector_driver.
Fixes: ec51fbd1b8a2 ("r8152: add USB device driver for config selection")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/r8152.c
b/drivers/net/usb/r8152.c
index 755b0f72dd44f97f2e97a54b02dd3d1a2980e45a..0999a58ca9d26945db7c5991e1637597a4a5d2e7 100644
(file)
--- a/
drivers/net/usb/r8152.c
+++ b/
drivers/net/usb/r8152.c
@@
-9910,6
+9910,7
@@
static struct usb_device_driver rtl8152_cfgselector_driver = {
.probe = rtl8152_cfgselector_probe,
.id_table = rtl8152_table,
.generic_subclass = 1,
+ .supports_autosuspend = 1,
};
static int __init rtl8152_driver_init(void)