aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/storage/Kconfig
diff options
context:
space:
mode:
authoredwin_rong2011-06-17 19:35:11 +0800
committerGreg Kroah-Hartman2011-07-01 14:53:42 -0700
commite931830bb877e2aad9a1be83506f9bdb26c91e4e (patch)
treeb1a3a3f58961de17a09f2e157dd5ff66f9534a9d /drivers/usb/storage/Kconfig
parentb6507df48240202b3f623e73c14623d7b3b09b99 (diff)
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>
Diffstat (limited to 'drivers/usb/storage/Kconfig')
-rw-r--r--drivers/usb/storage/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig
index 97987255be75..58aabe679c32 100644
--- a/drivers/usb/storage/Kconfig
+++ b/drivers/usb/storage/Kconfig
@@ -40,6 +40,10 @@ config USB_STORAGE_REALTEK
If this driver is compiled as a module, it will be named ums-realtek.
+config REALTEK_AUTOPM
+ bool "Realtek Card Reader autosuspend support"
+ depends on USB_STORAGE_REALTEK && CONFIG_PM_RUNTIME
+ default y
config USB_STORAGE_DATAFAB
tristate "Datafab Compact Flash Reader support"