File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1566,10 +1566,6 @@ static void brcm_config_clkreq(struct brcm_pcie *pcie)
15661566 mode = "safe" ;
15671567 }
15681568
1569- /* Start out assuming safe mode (both mode bits cleared) */
1570- clkreq_cntl = readl (pcie -> base + HARD_DEBUG (pcie ));
1571- clkreq_cntl &= ~PCIE_CLKREQ_MASK ;
1572-
15731569 if (strcmp (mode , "no-l1ss" ) == 0 ) {
15741570 /*
15751571 * "no-l1ss" -- Provides Clock Power Management, L0s, and
@@ -1766,6 +1762,11 @@ static int brcm_pcie_start_link(struct brcm_pcie *pcie)
17661762
17671763 brcm_pcie_stats_trigger (pcie , 0 );
17681764
1765+ /* Disable CLKREQ# input prior to link-up */
1766+ tmp = readl (pcie -> base + HARD_DEBUG (pcie ));
1767+ tmp &= ~PCIE_CLKREQ_MASK ;
1768+ writel (tmp , pcie -> base + HARD_DEBUG (pcie ));
1769+
17691770 /* Unassert the fundamental reset */
17701771 if (pcie -> tperst_clk_ms ) {
17711772 /*
You can’t perform that action at this time.
0 commit comments