Skip to content

Commit a437027

Browse files
Sean Andersonbjorn-helgaas
authored andcommitted
PCI: xilinx-nwl: Fix register misspelling
MSIC -> MISC Fixes: c2a7ff1 ("PCI: xilinx-nwl: Expand error logging") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Anderson <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 0199d2f commit a437027

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/pci/controller/pcie-xilinx-nwl.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
#define MSGF_MISC_SR_NON_FATAL_DEV BIT(22)
8181
#define MSGF_MISC_SR_FATAL_DEV BIT(23)
8282
#define MSGF_MISC_SR_LINK_DOWN BIT(24)
83-
#define MSGF_MSIC_SR_LINK_AUTO_BWIDTH BIT(25)
84-
#define MSGF_MSIC_SR_LINK_BWIDTH BIT(26)
83+
#define MSGF_MISC_SR_LINK_AUTO_BWIDTH BIT(25)
84+
#define MSGF_MISC_SR_LINK_BWIDTH BIT(26)
8585

8686
#define MSGF_MISC_SR_MASKALL (MSGF_MISC_SR_RXMSG_AVAIL | \
8787
MSGF_MISC_SR_RXMSG_OVER | \
@@ -96,8 +96,8 @@
9696
MSGF_MISC_SR_NON_FATAL_DEV | \
9797
MSGF_MISC_SR_FATAL_DEV | \
9898
MSGF_MISC_SR_LINK_DOWN | \
99-
MSGF_MSIC_SR_LINK_AUTO_BWIDTH | \
100-
MSGF_MSIC_SR_LINK_BWIDTH)
99+
MSGF_MISC_SR_LINK_AUTO_BWIDTH | \
100+
MSGF_MISC_SR_LINK_BWIDTH)
101101

102102
/* Legacy interrupt status mask bits */
103103
#define MSGF_LEG_SR_INTA BIT(0)
@@ -299,10 +299,10 @@ static irqreturn_t nwl_pcie_misc_handler(int irq, void *data)
299299
if (misc_stat & MSGF_MISC_SR_FATAL_DEV)
300300
dev_err(dev, "Fatal Error Detected\n");
301301

302-
if (misc_stat & MSGF_MSIC_SR_LINK_AUTO_BWIDTH)
302+
if (misc_stat & MSGF_MISC_SR_LINK_AUTO_BWIDTH)
303303
dev_info(dev, "Link Autonomous Bandwidth Management Status bit set\n");
304304

305-
if (misc_stat & MSGF_MSIC_SR_LINK_BWIDTH)
305+
if (misc_stat & MSGF_MISC_SR_LINK_BWIDTH)
306306
dev_info(dev, "Link Bandwidth Management Status bit set\n");
307307

308308
/* Clear misc interrupt status */

0 commit comments

Comments
 (0)