From e931830bb877e2aad9a1be83506f9bdb26c91e4e Mon Sep 17 00:00:00 2001 From: edwin_rong Date: Fri, 17 Jun 2011 19:35:11 +0800 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/usb/storage/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/usb/storage/Kconfig') diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig index 97987255be7..58aabe679c3 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" -- cgit v1.2.3-70-g09d2