diff options
author | Mohit Kumar <mohit.kumar@st.com> | 2014-04-16 18:23:28 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-04-16 18:23:28 +0200 |
commit | c23fdc7da4853c25509255419bf88ed94cd42a5b (patch) | |
tree | 5dedd9f291b9cd29f4cf777b2d6fece4f6e421a8 /drivers/pci | |
parent | powerpc/PCI: Fix NULL dereference in sys_pciconfig_iobase() list traversal (diff) | |
download | linux-c23fdc7da4853c25509255419bf88ed94cd42a5b.tar.xz linux-c23fdc7da4853c25509255419bf88ed94cd42a5b.zip |
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')
-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) u32 membase; u32 memlimit; - /* set the number of lines as 4 */ + /* set the number of lanes */ dw_pcie_readl_rc(pp, PCIE_PORT_LINK_CONTROL, &val); val &= ~PORT_LINK_MODE_MASK; switch (pp->lanes) { |