PCI: designware: Fix comment for setting number of lanes
authorMohit Kumar <[email protected]>
Wed, 16 Apr 2014 16:23:28 +0000 (10:23 -0600)
committerBjorn Helgaas <[email protected]>
Wed, 16 Apr 2014 16:23:28 +0000 (10:23 -0600)
Corrects comment for setting number of lanes.

Signed-off-by: Mohit Kumar <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Jingoo Han <[email protected]>
drivers/pci/host/pcie-designware.c

index 509a29d84509364b366ef1e130ed5ea37b40a091..8909e7748e675fa0b1e167a22626091f2d125a8e 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) {