ARM: tegra: usb_phy: Fix T11x OverCurrent selection bit
authorSuresh Mangipudi <smangipudi@nvidia.com>
Mon, 17 Dec 2012 10:49:11 +0000 (15:49 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:47:06 +0000 (12:47 -0700)
commit276e9284dc96b1ca511f19e304b02af558e0043a
tree66afa457d4f8ac84fc2712ff08db99db0d7c5400
parente898a08c0fb578e4f96c1be4dabe115c46e61249
ARM: tegra: usb_phy: Fix T11x OverCurrent selection bit

The OCA bit in PORTSC is being set by default, this results in PORTSC
register reporting false status for over current.
Update the programming sequence such that the over_current bit is
cleared.

Bug 1199299

Change-Id: I17b2e6c48719986a87683da9ff52ff8874d7671d
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/171886
(cherry picked from commit 4de2cc7c70ab9cd4f2790901b0535ffbd67f80da)
Reviewed-on: http://git-master/r/173091
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/board-dalmore.c
arch/arm/mach-tegra/board-pluto.c
arch/arm/mach-tegra/board-roth.c
arch/arm/mach-tegra/tegra11x_usb_phy.c
include/linux/platform_data/tegra_usb.h