usb: host: tegra: Configurable USB hotplug
Artiste Hsu [Tue, 27 Sep 2011 01:47:32 +0000 (09:47 +0800)]
Hotplug on usb is supported when hotplug flag is set in platform data

Bug 869745

(cherry picked from commit I57ba0b18a2d4232b2df2074c91aff97c6e639e7d)
Reviewed-on: http://git-master/r/54588

Change-Id: I24e5ddf49cead14d3eebe30da0f92402015c95c7
Reviewed-on: http://git-master/r/57725
Tested-by: Artiste Hsu <chhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R597eb9f741e67826aca791fbaf0121ab4d885840

arch/arm/mach-tegra/board-cardhu.c

index 6c137fd..0ff72fc 100644 (file)
@@ -631,6 +631,7 @@ static struct tegra_ehci_platform_data tegra_ehci_pdata[] = {
                        .phy_config = &utmi_phy_config[2],
                        .operating_mode = TEGRA_USB_HOST,
                        .power_down_on_bus_suspend = 1,
+                       .hotplug = 1,
        },
 };