提交 aa4f63ca 编写于 作者: S Satoru Takeuchi 提交者: Greg Kroah-Hartman

IA64: PCI: dont disable irq which is not enabled

This patch prevents pcibios_disable_device() from disabling interrupts
of devices which is not enabled.
Signed-off-by: NKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: NMUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Signed-off-by: NSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: NKristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 600812ec
......@@ -562,7 +562,8 @@ pcibios_enable_device (struct pci_dev *dev, int mask)
void
pcibios_disable_device (struct pci_dev *dev)
{
acpi_pci_irq_disable(dev);
if (dev->is_enabled)
acpi_pci_irq_disable(dev);
}
void
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册