]> www.infradead.org Git - users/dwmw2/linux.git/commit
PCI: rockchip-ep: Refactor rockchip_pcie_ep_probe() memory allocations
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 17 Oct 2024 01:58:43 +0000 (10:58 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 25 Nov 2024 19:18:36 +0000 (13:18 -0600)
commit945648019466db06dca189a639af913f2834ee9b
tree24671c7b70f22b31a83af413bc7c850576db4709
parent2968534e63e5bbe3d3f3c317ba32012393ee6637
PCI: rockchip-ep: Refactor rockchip_pcie_ep_probe() memory allocations

Introduce the function rockchip_pcie_ep_init_ob_mem() allocate the
outbound memory regions and memory needed for IRQ handling.

These changes tidy up rockchip_pcie_ep_probe().

No functional change.

Link: https://lore.kernel.org/r/20241017015849.190271-9-dlemoal@kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pcie-rockchip-ep.c