You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
From b59343b7de448c30e5b098484a7c7c5cb300df2f Mon Sep 17 00:00:00 2001
|
|
From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
|
|
Date: Fri, 20 Mar 2020 12:01:22 +0100
|
|
Subject: [PATCH] staging: mt7621-pci: change variable to print for slot
|
|
|
|
We are using the counter to print the slot which has been
|
|
enabled. Use the correct associated slot for the port instead.
|
|
|
|
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
|
|
Link: https://lore.kernel.org/r/20200320110123.9907-5-sergio.paracuellos@gmail.com
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
---
|
|
drivers/staging/mt7621-pci/pci-mt7621.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/staging/mt7621-pci/pci-mt7621.c
|
|
+++ b/drivers/staging/mt7621-pci/pci-mt7621.c
|
|
@@ -562,7 +562,7 @@ static void mt7621_pcie_enable_ports(str
|
|
if (port->enabled) {
|
|
mt7621_pcie_port_clk_enable(port);
|
|
mt7621_pcie_enable_port(port);
|
|
- dev_info(dev, "PCIE%d enabled\n", num_slots_enabled);
|
|
+ dev_info(dev, "PCIE%d enabled\n", port->slot);
|
|
num_slots_enabled++;
|
|
}
|
|
}
|