diff options
-rw-r--r-- | drivers/pci/hotplug/pciehp_hpc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c index 4317513771d1..df1266cd6861 100644 --- a/drivers/pci/hotplug/pciehp_hpc.c +++ b/drivers/pci/hotplug/pciehp_hpc.c | |||
@@ -537,6 +537,10 @@ static void hpc_set_green_led_blink(struct slot *slot) | |||
537 | 537 | ||
538 | static void hpc_release_ctlr(struct controller *ctrl) | 538 | static void hpc_release_ctlr(struct controller *ctrl) |
539 | { | 539 | { |
540 | /* Mask Hot-plug Interrupt Enable */ | ||
541 | if (pcie_write_cmd(ctrl, 0, HP_INTR_ENABLE | CMD_CMPL_INTR_ENABLE)) | ||
542 | err("%s: Cannot mask hotplut interrupt enable\n", __func__); | ||
543 | |||
540 | if (pciehp_poll_mode) | 544 | if (pciehp_poll_mode) |
541 | del_timer(&ctrl->poll_timer); | 545 | del_timer(&ctrl->poll_timer); |
542 | else | 546 | else |