]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
r8152: fix the autosuspend doesn't work
authorHayes Wang <hayeswang@realtek.com>
Tue, 2 May 2023 03:36:27 +0000 (11:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2023 16:00:29 +0000 (17:00 +0100)
commit325556d46bfd13a2fa0d304d0625be86821fd683
treee2590a95fc63e6612cb034c243f4ed36a828ac0f
parent4c2ad8e39c62c5288ca31ebf5c30e34f3bd9d044
r8152: fix the autosuspend doesn't work

commit 0fbd79c01a9a657348f7032df70c57a406468c86 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/r8152.c