summaryrefslogtreecommitdiff
path: root/drivers/pci/controller
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2022-09-28 18:54:21 +0300
committerLorenzo Pieralisi <lpieralisi@kernel.org>2022-09-29 11:34:47 +0300
commit0e4d9a5cc7670d59e73cc372263a7417330aa56f (patch)
tree4220bbc239c686ac6557e4a271a7ef896bf91017 /drivers/pci/controller
parentb623023225abed7a7d76cf1cc9f7187c1a3e7cff (diff)
downloadlinux-0e4d9a5cc7670d59e73cc372263a7417330aa56f.tar.xz
PCI: qcom: Rename host-init error label
Use a more descriptive name for the reset host-init error label for consistency. Link: https://lore.kernel.org/r/20220928155421.21660-3-johan+linaro@kernel.org Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Diffstat (limited to 'drivers/pci/controller')
-rw-r--r--drivers/pci/controller/dwc/pcie-qcom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c
index 8d6df0db4ebb..f711acacaeaf 100644
--- a/drivers/pci/controller/dwc/pcie-qcom.c
+++ b/drivers/pci/controller/dwc/pcie-qcom.c
@@ -1512,12 +1512,12 @@ static int qcom_pcie_host_init(struct dw_pcie_rp *pp)
if (pcie->cfg->ops->config_sid) {
ret = pcie->cfg->ops->config_sid(pcie);
if (ret)
- goto err;
+ goto err_assert_reset;
}
return 0;
-err:
+err_assert_reset:
qcom_ep_reset_assert(pcie);
err_disable_phy:
phy_power_off(pcie->phy);