PCI: cadence: Add cdns_plat_pcie_probe() missing return
authorLi Chen <lchen@ambarella.com>
Thu, 21 Oct 2021 02:50:19 +0000 (02:50 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 3 Nov 2021 20:37:05 +0000 (15:37 -0500)
commit27cd7e3c9bb1ae13bc16f08138edd6e4df3cd211
tree18a056bda5243f31119425263727f2f776d1726e
parent496bb18483cc0474913e81e18a6b313aaea4c120
PCI: cadence: Add cdns_plat_pcie_probe() missing return

When cdns_plat_pcie_probe() succeeds, return success instead of falling
into the error handling code.

Fixes: bd22885aa188 ("PCI: cadence: Refactor driver to use as a core library")
Link: https://lore.kernel.org/r/DM6PR19MB40271B93057D949310F0B0EDA0BF9@DM6PR19MB4027.namprd19.prod.outlook.com
Signed-off-by: Xuliang Zhang <xlzhanga@ambarella.com>
Signed-off-by: Li Chen <lchen@ambarella.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org
drivers/pci/controller/cadence/pcie-cadence-plat.c