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)
committerVarun Colbert <vcolbert@nvidia.com>
Wed, 19 Dec 2012 21:41:42 +0000 (13:41 -0800)
commit4de2cc7c70ab9cd4f2790901b0535ffbd67f80da
treee7e5597b2159e3672b1a4f9d4e58c8fe67940c0e
parent40d0427d400e522a0c0bc16cd73801e1b08fcbe4
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
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@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