PCI: tegra194: Clean up the exit path for Endpoint mode
authorVidya Sagar <vidyas@nvidia.com>
Thu, 21 Jul 2022 14:20:49 +0000 (19:50 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 22 Jul 2022 22:14:57 +0000 (17:14 -0500)
commitbb617cbd81513092ae48ff7dfcaf766312b57bcf
tree6ae42fa0972b37ce5fb712b402823334735dc613
parent4fb8e46c1bc4ee16d8b4ec53933b2ed46e31e158
PCI: tegra194: Clean up the exit path for Endpoint mode

Clean up the exit path during .remove() and .shutdown() calls when in
Endpoint mode.

Link: https://lore.kernel.org/r/20220721142052.25971-14-vidyas@nvidia.com
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pcie-tegra194.c