summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/Kconfig
diff options
context:
space:
mode:
authoredwin_rong <edwin_rong@realsil.com.cn>2011-06-17 13:35:11 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-01 23:53:42 +0200
commite931830bb877e2aad9a1be83506f9bdb26c91e4e (patch)
treeb1a3a3f58961de17a09f2e157dd5ff66f9534a9d /drivers/usb/storage/Kconfig
parentRealtek cr: Remove unused Macros (diff)
downloadlinux-e931830bb877e2aad9a1be83506f9bdb26c91e4e.tar.xz
linux-e931830bb877e2aad9a1be83506f9bdb26c91e4e.zip
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"