xhci: tegra: fix for usb2 utmi pad power saving
authorTW Chiu <twchiu@nvidia.com>
Mon, 2 Nov 2015 08:11:04 +0000 (16:11 +0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Sat, 7 Nov 2015 08:33:21 +0000 (00:33 -0800)
commitb4d127dc90fd4aaf89921ece952a4251bdee9076
treef4509208b6a063735206374c2e44302cef3a49ec
parent8dd230448bb360b65036be0d64a52f78bc8f47b9
xhci: tegra: fix for usb2 utmi pad power saving

USB2 pad PD bits can be set to save power when device is disconnected
or suspended. When device is connected or in resume state, we need to
clear these PD bits.

During boot, there is a case that CSC bit is cleared by hub init
function. This causes PD bits set and failures in port reset and set
address.

Bug 200146188

Change-Id: Id12deb97689ef08b3e9236124c2fc4775b039c3c
Signed-off-by: TW Chiu <twchiu@nvidia.com>
Reviewed-on: http://git-master/r/826136
GVS: Gerrit_Virtual_Submit
Reviewed-by: Henry Lin <henryl@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
drivers/usb/host/xhci-tegra.c