aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp_hpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/pciehp_hpc.c')
-rw-r--r--drivers/pci/hotplug/pciehp_hpc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c
index 026830a138ae..e5d5ce9e3010 100644
--- a/drivers/pci/hotplug/pciehp_hpc.c
+++ b/drivers/pci/hotplug/pciehp_hpc.c
@@ -586,6 +586,14 @@ static irqreturn_t pciehp_isr(int irq, void *dev_id)
586 events = status & (PCI_EXP_SLTSTA_ABP | PCI_EXP_SLTSTA_PFD | 586 events = status & (PCI_EXP_SLTSTA_ABP | PCI_EXP_SLTSTA_PFD |
587 PCI_EXP_SLTSTA_PDC | PCI_EXP_SLTSTA_CC | 587 PCI_EXP_SLTSTA_PDC | PCI_EXP_SLTSTA_CC |
588 PCI_EXP_SLTSTA_DLLSC); 588 PCI_EXP_SLTSTA_DLLSC);
589
590 /*
591 * If we've already reported a power fault, don't report it again
592 * until we've done something to handle it.
593 */
594 if (ctrl->power_fault_detected)
595 events &= ~PCI_EXP_SLTSTA_PFD;
596
589 if (!events) 597 if (!events)
590 return IRQ_NONE; 598 return IRQ_NONE;
591 599