Skip to content

Commit

Permalink
Realtek cr: Add autosuspend function.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
edwin_rong authored and Greg Kroah-Hartman committed Jul 1, 2011
1 parent b6507df commit e931830
Show file tree
Hide file tree
Showing 2 changed files with 369 additions and 12 deletions.
4 changes: 4 additions & 0 deletions drivers/usb/storage/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading

0 comments on commit e931830

Please sign in to comment.