diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2015-07-01 17:17:49 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-08-10 14:24:09 -0500 |
commit | 2db0f71f56795f6b04d386b15c3b32b570558ebd (patch) | |
tree | f8e3ec10dfe61528c832dd43856180a21c079b73 /drivers/pci/hotplug/pciehp.h | |
parent | 58fa2405bd44805cb6166603100b0183ce26a0c8 (diff) | |
download | linux-2db0f71f56795f6b04d386b15c3b32b570558ebd.tar.gz linux-2db0f71f56795f6b04d386b15c3b32b570558ebd.tar.bz2 linux-2db0f71f56795f6b04d386b15c3b32b570558ebd.zip |
PCI: pciehp: Remove ignored MRL sensor interrupt events
We queued interrupt events for the MRL being opened or closed, but the code
in interrupt_event_handler() that handles these events ignored them.
Stop enabling MRL interrupts and remove the ignored events.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
-rw-r--r-- | drivers/pci/hotplug/pciehp.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index aca84e1b81be..62d6fe6c3714 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h @@ -103,12 +103,10 @@ struct controller { #define INT_PRESENCE_ON 1 #define INT_PRESENCE_OFF 2 -#define INT_SWITCH_CLOSE 3 -#define INT_SWITCH_OPEN 4 -#define INT_POWER_FAULT 5 -#define INT_BUTTON_PRESS 6 -#define INT_LINK_UP 7 -#define INT_LINK_DOWN 8 +#define INT_POWER_FAULT 3 +#define INT_BUTTON_PRESS 4 +#define INT_LINK_UP 5 +#define INT_LINK_DOWN 6 #define STATIC_STATE 0 #define BLINKINGON_STATE 1 |