projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86, irq, PCI: Keep IRQ assignment for runtime power management
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
pci
/
intel_mid_pci.c
diff --git
a/arch/x86/pci/intel_mid_pci.c
b/arch/x86/pci/intel_mid_pci.c
index 3865116c51fbf583a923d4131882c653b5fc3c24..b9958c364075e949620001cc9d8f02a2715d0128 100644
(file)
--- a/
arch/x86/pci/intel_mid_pci.c
+++ b/
arch/x86/pci/intel_mid_pci.c
@@
-229,7
+229,7
@@
static int intel_mid_pci_irq_enable(struct pci_dev *dev)
static void intel_mid_pci_irq_disable(struct pci_dev *dev)
{
- if (!
dev->dev.power.is_prepared
&& dev->irq > 0)
+ if (!
mp_should_keep_irq(&dev->dev)
&& dev->irq > 0)
mp_unmap_irq(dev->irq);
}