Commit 91df66d
PCI: brcmstb: set link speed before deasserting fundamental reset
If autonomous speed negotiation is unreliable then brcm_pcie_set_gen()
can be used to override/limit this behaviour. However, setting the limit
after the linkup poll means the link can temporarily enter a bad speed
which may result in link failure. Move the speed setup to just prior to
releasing perst_n.
Fixes: 0693b42 ("PCI: brcmstb: Split post-link up initialization to brcm_pcie_start_link()")
Signed-off-by: Jonathan Bell <[email protected]>1 parent ab9bb48 commit 91df66d
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1715 | 1715 | | |
1716 | 1716 | | |
1717 | 1717 | | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
1718 | 1721 | | |
1719 | 1722 | | |
1720 | 1723 | | |
| |||
1759 | 1762 | | |
1760 | 1763 | | |
1761 | 1764 | | |
1762 | | - | |
1763 | | - | |
1764 | | - | |
1765 | 1765 | | |
1766 | 1766 | | |
1767 | 1767 | | |
| |||
0 commit comments