From: Greg Meiste Date: Mon, 28 Feb 2011 19:45:20 +0000 (-0600) Subject: [ARM] tegra: stingray: Add ehci3 for all devices X-Git-Tag: firefly_0821_release~9834^2~85 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7ab7ab9c5caeaed003b52a3cd77c638b54fcd9ab;p=firefly-linux-kernel-4.4.55.git [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 --- 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;