r8152: fix the autosuspend doesn't work

commit 0fbd79c01a upstream.

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:
Hayes Wang 2023-05-02 11:36:27 +08:00 • committed by Greg Kroah-Hartman
commit 325556d46b