diff options
author | Mohit Kumar <mohit.kumar@st.com> | 2014-04-14 16:22:54 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-04-16 12:20:48 -0400 |
commit | 66c5c34bf80c28d370eb9bcf30153ea0304a288a (patch) | |
tree | 170c490a116d3ab1301e1311a204b5fd463bf4a9 /drivers/pci/host | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) |
PCI: designware: Fix comment for setting number of lanes
Corrects comment for setting number of lanes.
Signed-off-by: Mohit Kumar <mohit.kumar@st.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Diffstat (limited to 'drivers/pci/host')
-rw-r--r-- | drivers/pci/host/pcie-designware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index 509a29d84509..8909e7748e67 100644 --- a/drivers/pci/host/pcie-designware.c +++ b/drivers/pci/host/pcie-designware.c | |||
@@ -764,7 +764,7 @@ void dw_pcie_setup_rc(struct pcie_port *pp) | |||
764 | u32 membase; | 764 | u32 membase; |
765 | u32 memlimit; | 765 | u32 memlimit; |
766 | 766 | ||
767 | /* set the number of lines as 4 */ | 767 | /* set the number of lanes */ |
768 | dw_pcie_readl_rc(pp, PCIE_PORT_LINK_CONTROL, &val); | 768 | dw_pcie_readl_rc(pp, PCIE_PORT_LINK_CONTROL, &val); |
769 | val &= ~PORT_LINK_MODE_MASK; | 769 | val &= ~PORT_LINK_MODE_MASK; |
770 | switch (pp->lanes) { | 770 | switch (pp->lanes) { |