diff options
| author | 2025-09-08 18:59:16 +0200 | |
|---|---|---|
| committer | 2025-09-12 16:54:14 -0500 | |
| commit | eea30c76012245efa87f427ca6d110d1674e433a (patch) | |
| tree | cd135371af96fbfb2bffab38031e18eab377b4dc /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | PCI: dwc: Verify the single eDMA IRQ in dw_pcie_edma_irq_verify() (diff) | |
| download | wireguard-linux-eea30c76012245efa87f427ca6d110d1674e433a.tar.xz wireguard-linux-eea30c76012245efa87f427ca6d110d1674e433a.zip | |
PCI: qcom-ep: Remove redundant edma.nr_irqs initialization
dw_pcie_edma_irq_verify() already parses device tree for either "dma" (if
there is a single IRQ for all DMA channels) or "dmaX" (if there is one IRQ
per DMA channel), and initializes dma.nr_irqs accordingly.
Additionally, the probing of the eDMA driver will fail if neither "dma"
nor "dmaX" is defined in the device tree.
Therefore there is no need for a glue driver to specify edma.nr_irqs, so
remove the redundant edma.nr_irqs initialization.
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
[bhelgaas: fix typos]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250908165914.547002-4-cassel@kernel.org
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions
