From 7ab7ab9c5caeaed003b52a3cd77c638b54fcd9ab Mon Sep 17 00:00:00 2001 From: Greg Meiste Date: Mon, 28 Feb 2011 13:45:20 -0600 Subject: [PATCH] [ARM] tegra: stingray: Add ehci3 for all devices Even though the wifi-only model has nothing attached to ehci3, the driver still needs to be probed. This is because the USB register settings are lost in LP0. So currently after the device resumes from LP0 the first time, the current drain is 12mA higher! When the ehci3 driver is present, its resume code runs and restores the registers to a known good state, which solves the power management issue. Change-Id: I6329704f7a1161eb139b62002a50085eb05d2fdc Signed-off-by: Greg Meiste --- arch/arm/mach-tegra/board-stingray.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray.c b/arch/arm/mach-tegra/board-stingray.c index 3b8d4a347201..092c664d474d 100644 --- a/arch/arm/mach-tegra/board-stingray.c +++ b/arch/arm/mach-tegra/board-stingray.c @@ -850,10 +850,10 @@ static void stingray_usb_init(void) if (!(factorycable && mot_boot_recovery)) platform_device_register(&tegra_udc_device); - if (stingray_hw_has_cdma()) { + if (stingray_hw_has_cdma()) platform_device_register(&tegra_ehci2_device); - platform_device_register(&tegra_ehci3_device); - } + + platform_device_register(&tegra_ehci3_device); #ifdef CONFIG_USB_ANDROID_RNDIS src = usb_serial_num; -- 2.34.1