PCI: dwc: dra7xx: Facilitate wrapper and MSI interrupts to be enabled independently
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 27 Mar 2017 09:45:07 +0000 (15:15 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Apr 2017 15:23:17 +0000 (10:23 -0500)
commit5ffd90a035a273068a8bbef74a01ae923b80110b
tree490aa1aea78d8899cbd67a7129a339517034289e
parentb12befecd7de905a05053eb6a266e3b97528c6d4
PCI: dwc: dra7xx: Facilitate wrapper and MSI interrupts to be enabled independently

No functional change. Split dra7xx_pcie_enable_interrupts() into
dra7xx_pcie_enable_wrapper_interrupts() and
dra7xx_pcie_enable_msi_interrupts() so that wrapper interrupts and MSI
interrupts can be enabled independently.  This is in preparation for adding
EP mode support to dra7xx driver since EP mode doesn't have to enable
msi_interrupts.

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