r8152: fix the autosuspend doesn't work
authorHayes Wang <hayeswang@realtek.com>
Tue, 2 May 2023 03:36:27 +0000 (11:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 May 2023 08:12:10 +0000 (09:12 +0100)
commit0fbd79c01a9a657348f7032df70c57a406468c86
treeebcbf3b018609a92ee5893eb63ec4cc2fe6e8884
parent3711d44fac1f80ea69ecb7315fed05b3812a7401
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")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c