]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
PCI: designware: Fix comment for setting number of lanes
authorMohit Kumar <mohit.kumar@st.com>
Mon, 14 Apr 2014 20:22:54 +0000 (14:22 -0600)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:43 +0000 (21:18 -0600)
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>
(cherry picked from commit 66c5c34bf80c28d370eb9bcf30153ea0304a288a)

drivers/pci/host/pcie-designware.c

index 6eca144752ef782fa757092c6d4516cf2da31383..a9a62ce4bf05cac4fa6a3ba27c0b38971ca75863 100644 (file)
@@ -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) {