Skip to content

Commit e931830

Browse files
EdwinRongRealsilgregkh
authored andcommitted
Realtek cr: Add autosuspend function.
The autosuspend function can be disabled by unchecking the Macro CONFIG_REALTEK_AUTOPM in kernel config file, by default, this macro is turned on. Signed-off-by: edwin_rong <edwin_rong@realsil.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent b6507df commit e931830

2 files changed

Lines changed: 369 additions & 12 deletions

File tree

‎drivers/usb/storage/Kconfig‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ config USB_STORAGE_REALTEK
4040

4141
If this driver is compiled as a module, it will be named ums-realtek.
4242

43+
config REALTEK_AUTOPM
44+
bool "Realtek Card Reader autosuspend support"
45+
depends on USB_STORAGE_REALTEK && CONFIG_PM_RUNTIME
46+
default y
4347

4448
config USB_STORAGE_DATAFAB
4549
tristate "Datafab Compact Flash Reader support"

0 commit comments

Comments
 (0)