Skip to contentSkip to conversation

r8152: fix the autosuspend doesn't work

PATCH Applied Hayes Wang 2 participants 2 messages May 2, 2023 – May 3, 2023

Subsystems (4)
lore
Share & tools
lore

Hayes Wang

author
#0 lore raw

PATCH 1/1 r8152: fix the autosuspend doesn't work

Set supports_autosuspend = 1 for the rtl8152_cfgselector_driver.

Fixes ec51fbd1b8a2 ("r8152: add USB device driver for config selection")
---
 drivers/net/usb/r8152.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/usb/r8152.c +1 -0
index 755b0f72dd44..0999a58ca9d2 100644
@@ -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)
Signature · 1 line
2.40.0
#1 lore raw
This patch was applied to netdev/net.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <[email protected]>:

Quoted 7 lines · On Tue, 2 May 2023 11:36:27 +0800 you wrote:

Set supports_autosuspend = 1 for the rtl8152_cfgselector_driver.

Fixes ec51fbd1b8a2 ("r8152: add USB device driver for config selection")
---
 drivers/net/usb/r8152.c | 1 +
 1 file changed, 1 insertion(+)

Here is the summary with links:
- [net] r8152: fix the autosuspend doesn't work

    https://git.kernel.org/netdev/net/c/0fbd79c01a9a

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html