mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 20:03:33 -04:00
Merge "msm: ep-pcie: ipq: Enable global irq before link enum"
This commit is contained in:
commit
d4762490a3
1 changed files with 4 additions and 2 deletions
|
|
@ -2609,7 +2609,8 @@ int32_t ep_pcie_irq_init(struct ep_pcie_dev_t *dev)
|
|||
INIT_WORK(&dev->handle_d3cold_work, handle_d3cold_func);
|
||||
|
||||
if (dev->aggregated_irq) {
|
||||
irq_set_status_flags(dev->irq[EP_PCIE_INT_GLOBAL].num, IRQ_NOAUTOEN);
|
||||
if (!ep_pcie_dev.perst_enum)
|
||||
irq_set_status_flags(dev->irq[EP_PCIE_INT_GLOBAL].num, IRQ_NOAUTOEN);
|
||||
ret = devm_request_irq(pdev,
|
||||
dev->irq[EP_PCIE_INT_GLOBAL].num,
|
||||
ep_pcie_handle_global_irq,
|
||||
|
|
@ -3454,7 +3455,8 @@ static int ep_pcie_probe(struct platform_device *pdev)
|
|||
|
||||
qcom_edma_init(&pdev->dev);
|
||||
|
||||
enable_irq(ep_pcie_dev.irq[EP_PCIE_INT_GLOBAL].num);
|
||||
if (!ep_pcie_dev.perst_enum)
|
||||
enable_irq(ep_pcie_dev.irq[EP_PCIE_INT_GLOBAL].num);
|
||||
return 0;
|
||||
|
||||
irq_deinit:
|
||||
|
|
|
|||
Loading…
Reference in a new issue