ARM: tegra: Correct which USB controller has the UTMI pad registers
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 3 Apr 2015 07:21:11 +0000 (09:21 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 28 Apr 2015 14:47:38 +0000 (16:47 +0200)
commita4b6916cb3578b05f30ef520cd6deb7f8fd97dda
tree39a1ffe8969d3cc392a43aa79bb05f0d7907cf28
parentb787f68c36d49bb1d9236f403813641efa74a031
ARM: tegra: Correct which USB controller has the UTMI pad registers

It should be the first controller, not the second. The indexes of the
usb resets were also wrong and have been fixed.

The issue was caused by the changes in 308efde ("ARM: tegra: Add resets
& has-utmi-pad-registers flag to all USB PHYs") being misapplied by git
due to the patch context being insufficient.

This broke USB after 6261b06 ("regulator: Defer lookup of supply to
regulator_get"), because it changed the order in which the controllers
were probed.

The fix for this issue was suggested by Mikko Perttunen and Tuomas
Tynkkynen.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Mikko Perttunen <mikko.perttunen@kapsi.fi>
Cc: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra124.dtsi