ARM: tegra12: vcm30t124: Enable USB hot-plugging
Ashwin Joshi [Tue, 19 Nov 2013 11:20:35 +0000 (16:20 +0530)]
Enable USB hot-plug for USB #2 and USB #3.

Bug 1402408

Change-Id: Iabc4855510b462a804cb8d8ad8937e2f2cae2e70
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/332893
(cherry picked from commit 970886a584d5a691b42c7b56bda157c9709e278d)
Reviewed-on: http://git-master/r/336927
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

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

index 6d79ebc..89609d6 100644 (file)
@@ -363,7 +363,7 @@ static struct tegra_usb_platform_data tegra_ehci2_utmi_pdata = {
        .u_data.host = {
                /* FIXME: Set this only for E1855. */
                .vbus_gpio = TEGRA_GPIO_PN5,
-               .hot_plug = false,
+               .hot_plug = true,
                .remote_wakeup_supported = false,
                .power_off_on_suspend = true,
                .turn_off_vbus_on_lp0 = true,
@@ -390,7 +390,7 @@ static struct tegra_usb_platform_data tegra_ehci3_utmi_pdata = {
        .op_mode = TEGRA_USB_OPMODE_HOST,
        .u_data.host = {
                .vbus_gpio = -1,
-               .hot_plug = false,
+               .hot_plug = true,
                .remote_wakeup_supported = false,
                .power_off_on_suspend = true,
                .turn_off_vbus_on_lp0 = true,