diff options
author | Rakesh Bodla <rbodla@nvidia.com> | 2011-09-28 12:01:16 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:49:05 -0800 |
commit | e9a5462987755d00d95860c48a0306a6f34f2287 (patch) | |
tree | 1b682ac0982e301a14d220d87429d0f73e3b4195 /arch/arm/mach-tegra/board-ventana.c | |
parent | 9000a80060d6161912aee4973ba2779cbf6c49f9 (diff) |
arm: tegra: usb: usb registration order
Modified the usb registration order, otg is the first to be registered.
Bug 835678
Reviewed-on: http://git-master/r/39505
(cherry picked from commit 4f43316f3cbe55dc75e67002bfff37dcbba4178e)
Change-Id: I8b39b280995fc3185569746bfdbd328fa2282975
Reviewed-on: http://git-master/r/54893
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Rebase-Id: R5e668cb4f262058fb910c284aa1ab029eb1cd4cd
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana.c')
-rw-r--r-- | arch/arm/mach-tegra/board-ventana.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c index a59a8852a10a..5b0f867017f4 100644 --- a/arch/arm/mach-tegra/board-ventana.c +++ b/arch/arm/mach-tegra/board-ventana.c @@ -374,8 +374,6 @@ static struct platform_device ventana_audio_device = { static struct platform_device *ventana_devices[] __initdata = { &tegra_pmu_device, - &tegra_udc_device, - &tegra_ehci2_device, &tegra_gart_device, &tegra_aes_device, #ifdef CONFIG_KEYBOARD_GPIO @@ -572,10 +570,13 @@ static void __init ventana_power_off_init(void) static void ventana_usb_init(void) { tegra_usb_phy_init(tegra_usb_phy_pdata, ARRAY_SIZE(tegra_usb_phy_pdata)); - + /* OTG should be the first to be registered */ tegra_otg_device.dev.platform_data = &tegra_otg_pdata; platform_device_register(&tegra_otg_device); + platform_device_register(&tegra_udc_device); + platform_device_register(&tegra_ehci2_device); + tegra_ehci3_device.dev.platform_data=&tegra_ehci_pdata[2]; platform_device_register(&tegra_ehci3_device); } |