]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86/pci/intel_mid_pci: Work around for IRQ0 assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 29 Jul 2015 09:16:47 +0000 (12:16 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 29 Jul 2015 19:23:50 +0000 (21:23 +0200)
commit39d9b77b8debb4746e189aa5b61ae6e81ec5eab8
tree0c9a3d55d2fcb918a9834fa3e1d0edaa5b935914
parentf33d159ea701cbaba90f20876aeba11d27b698c2
x86/pci/intel_mid_pci: Work around for IRQ0 assignment

On Intel Tangier the MMC host controller is wired up to irq 0. But
several other devices have irq 0 associated as well due to a bogus PCI
configuration.

The first initialized driver will acquire irq 0 and make it
unavailable for other devices. If the sdhci driver is not the first
one it will fail to acquire the interrupt and therefor be non
functional.

Add a quirk to the pci irq enable function which denies irq 0 to
anything else than the MMC host controller driver on Tangier
platforms.

Fixes: 90b9aacf912a (serial: 8250_pci: add Intel Tangier support)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Link: http://lkml.kernel.org/r/1438161409-4671-2-git-send-email-andriy.shevchenko@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/pci/intel_mid_pci.c