PCI: dra7xx: Enable MSI and legacy interrupts simultaneously
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 11 Jan 2017 12:06:54 +0000 (17:36 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Feb 2017 21:00:12 +0000 (15:00 -0600)
commitebe85a44aad47bb5f08c5cbd939eb5e40956c73b
tree493ceb728b091c60edadf8252b8d5b1d831b477f
parentab5fe4f4d31ee27df9b8d7720da710d955d55737
PCI: dra7xx: Enable MSI and legacy interrupts simultaneously

pci-dra7xx driver had a bug in that if CONFIG_PCI_MSI config is enabled, it
doesn't support legacy interrupt.  Fix it here so that both MSI and legacy
interrupts can be enabled simultaneously and the interrupt mechanism
supported by the endpoint device will be used.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/dwc/pci-dra7xx.c