Commit fdd228cd authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman

staging: mt7621-pci: fix two messages in driver code

There are two messages in driver code which are not correct.
Fix both of them to clarify boot runs.
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c2e1e0f3
...@@ -394,7 +394,7 @@ static int mt7621_pcie_init_port(struct mt7621_pcie_port *port) ...@@ -394,7 +394,7 @@ static int mt7621_pcie_init_port(struct mt7621_pcie_port *port)
mt7621_reset_port(port); mt7621_reset_port(port);
val = read_config(pcie, slot, PCIE_FTS_NUM); val = read_config(pcie, slot, PCIE_FTS_NUM);
dev_info(dev, "Port %d N_FTS = %x\n", (unsigned int)val, slot); dev_info(dev, "Port %d N_FTS = %x\n", slot, (unsigned int)val);
err = phy_init(port->phy); err = phy_init(port->phy);
if (err) { if (err) {
...@@ -511,7 +511,7 @@ static void mt7621_pcie_enable_ports(struct mt7621_pcie *pcie) ...@@ -511,7 +511,7 @@ static void mt7621_pcie_enable_ports(struct mt7621_pcie *pcie)
port->slot); port->slot);
continue; continue;
} }
dev_info(dev, "PCIE%d enabled\n", slot); dev_info(dev, "PCIE%d enabled\n", num_slots_enabled);
num_slots_enabled++; num_slots_enabled++;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment