]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: phy: set line debounce count to 1
authorPreetham Chandru R <pchandru@nvidia.com>
Fri, 19 Apr 2013 12:27:02 +0000 (17:57 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:10:21 +0000 (13:10 -0700)
Set UTMI line debounce count to 1.
With this change the system wakes from LP0 when we disconnect USB-MSD.

Bug 1255249

Change-Id: I1560ddebba2b6859dbeea3c245cc6c52c6219708
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/212674
(cherry picked from commit e130b62dd3bbabf7e2260734bc052b7dad4346bd)
Reviewed-on: http://git-master/r/223244
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/phy/tegra3_usb_phy.c

index 99e52bde7a96bfa2be4f1cc5bde8a310ec18846c..2d08bf461994d13c2047f27c9c89a2e9c5cb2a19 100644 (file)
@@ -611,7 +611,7 @@ static void utmip_setup_pmc_wake_detect(struct tegra_usb_phy *phy)
        /* config debouncer */
        val = readl(pmc_base + PMC_USB_DEBOUNCE);
        val &= ~UTMIP_LINE_DEB_CNT(~0);
-       val |= UTMIP_LINE_DEB_CNT(4);
+       val |= UTMIP_LINE_DEB_CNT(1);
        val |= PMC_USB_DEBOUNCE_VAL(2);
        writel(val, pmc_base + PMC_USB_DEBOUNCE);