mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
r8152: fix the autosuspend doesn't work
commit0fbd79c01aupstream. Set supports_autosuspend = 1 for the rtl8152_cfgselector_driver. Fixes:ec51fbd1b8("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
aa3cc80e8e
commit
4c11798482
@@ -9913,6 +9913,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)
|
||||
|
||||
Reference in New Issue
Block a user