From 498e397fd33c5d1489dcf0228c89db9a345ee303 Mon Sep 17 00:00:00 2001 From: sgadagottu Date: Wed, 24 Mar 2010 16:52:09 +0530 Subject: tegra usb: Enabling autosupend/selective suspend for USB host. Enabling USB port suspend, when they is no activity happening on the on port. Example: For an usb port, when a USB hub is conneted without any devices on down stream, then hub upstream port can be suspended until device(s) connected on down stream to hub. We enabled this feature for whistler and harmony by enabling config paramater CONFIG_USB_SUSPEND. Bug XXXXXX : Enabling auto suspend for USB host Tested on : Harmony and Whistler E1108 Tested on Harmony by conneting 7 port hub to port2 of SMSC LAN hub Tested on Whistler by connecting 7 port hub on USB3. Change-Id: Icaf7648c5014161f6652cbb8c3347732b4651d8c Reviewed-on: http://git-master/r/946 Reviewed-by: Narendra Damahe Tested-by: Narendra Damahe Reviewed-by: Gary King --- arch/arm/configs/tegra_harmony_android_defconfig | 2 +- arch/arm/configs/tegra_whistler_android_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/configs/tegra_harmony_android_defconfig b/arch/arm/configs/tegra_harmony_android_defconfig index 208922f3c52b..77f6d8fe745a 100644 --- a/arch/arm/configs/tegra_harmony_android_defconfig +++ b/arch/arm/configs/tegra_harmony_android_defconfig @@ -1338,7 +1338,7 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICE_CLASS=y # CONFIG_USB_DYNAMIC_MINORS is not set -# CONFIG_USB_SUSPEND is not set +CONFIG_USB_SUSPEND=y # CONFIG_USB_OTG is not set # CONFIG_USB_OTG_WHITELIST is not set # CONFIG_USB_OTG_BLACKLIST_HUB is not set diff --git a/arch/arm/configs/tegra_whistler_android_defconfig b/arch/arm/configs/tegra_whistler_android_defconfig index f80120cf0e76..748bf5143e55 100644 --- a/arch/arm/configs/tegra_whistler_android_defconfig +++ b/arch/arm/configs/tegra_whistler_android_defconfig @@ -1071,7 +1071,7 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICE_CLASS=y # CONFIG_USB_DYNAMIC_MINORS is not set -# CONFIG_USB_SUSPEND is not set +CONFIG_USB_SUSPEND=y # CONFIG_USB_OTG is not set # CONFIG_USB_OTG_WHITELIST is not set # CONFIG_USB_OTG_BLACKLIST_HUB is not set -- cgit v1.2.3