Skip to content

Commit a4ca794

Browse files
paliLorenzo Pieralisi
authored andcommitted
PCI: aardvark: Comment actions in driver remove method
Add two more comments into the advk_pcie_remove() method. Link: https://lore.kernel.org/r/20211130172913.9727-6-kabel@kernel.org Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Marek Behún <kabel@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
1 parent 7d8dc1f commit a4ca794

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/pci/controller/pci-aardvark.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,11 +1697,13 @@ static int advk_pcie_remove(struct platform_device *pdev)
16971697
struct pci_host_bridge *bridge = pci_host_bridge_from_priv(pcie);
16981698
int i;
16991699

1700+
/* Remove PCI bus with all devices */
17001701
pci_lock_rescan_remove();
17011702
pci_stop_root_bus(bridge->bus);
17021703
pci_remove_root_bus(bridge->bus);
17031704
pci_unlock_rescan_remove();
17041705

1706+
/* Remove IRQ domains */
17051707
advk_pcie_remove_msi_irq_domain(pcie);
17061708
advk_pcie_remove_irq_domain(pcie);
17071709

0 commit comments

Comments
 (0)