usb: xhci: set tracking data using pmc api
Krishna Yarlagadda [Thu, 5 Sep 2013 17:28:19 +0000 (22:28 +0530)]
set tracking data using pmc api for snps when there is
atleast one snps port in use.

Bug 1334159

Change-Id: Id15f31ba487d8ad07485509002392821b99bf8f8
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/272751
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

drivers/usb/host/xhci-tegra.c

index c5dcbd6..38bc7cf 100644 (file)
@@ -2408,7 +2408,8 @@ static void tegra_xhci_war_for_tctrl_rctrl(struct tegra_xhci_hcd *tegra)
                reg = UTMIP_RCTRL_USE_PMC_P2 | UTMIP_TCTRL_USE_PMC_P2;
                tegra_usb_pmc_reg_update(PMC_SLEEP_CFG, reg, reg);
        } else {
-               /* TODO use common PMC API to use SNPS register space */
+               /* Use common PMC API to use SNPS register space */
+               utmi_phy_set_snps_trking_data();
        }
 }