aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/endpoint/pci-epf-core.c
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-03-13 19:13:28 +0530
committerBjorn Helgaas <bhelgaas@google.com>2017-04-04 08:41:30 -0500
commitd4c7d1a089d6fddf38c4fcdc91f15791bfb59a95 (patch)
treebb0ddc5219f278d224edceaeb8432fda8c839984 /drivers/pci/endpoint/pci-epf-core.c
parentPCI: dwc: designware: Move _unroll configurations to a separate function (diff)
downloadlinux-dev-d4c7d1a089d6fddf38c4fcdc91f15791bfb59a95.tar.xz
linux-dev-d4c7d1a089d6fddf38c4fcdc91f15791bfb59a95.zip
PCI: dwc: dra7xx: Push request_irq() call to the bottom of probe
Currently devm_request_irq() is being called before base, PCI fields of dra7xx_pcie structure are populated. It is called even before pm_runtime_enable() and pm_runtime_get_sync() are called. This will lead to exceptions if in case an interrupt is triggered before the all of the above are done. Hence push the devm_request_irq() call to the end of the probe. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/endpoint/pci-epf-core.c')
0 files changed, 0 insertions, 0 deletions