Skip to content

Commit 0e4d9a5

Browse files
jhovoldLorenzo Pieralisi
authored andcommitted
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>
1 parent b623023 commit 0e4d9a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/pci/controller/dwc/pcie-qcom.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,12 +1512,12 @@ static int qcom_pcie_host_init(struct dw_pcie_rp *pp)
15121512
if (pcie->cfg->ops->config_sid) {
15131513
ret = pcie->cfg->ops->config_sid(pcie);
15141514
if (ret)
1515-
goto err;
1515+
goto err_assert_reset;
15161516
}
15171517

15181518
return 0;
15191519

1520-
err:
1520+
err_assert_reset:
15211521
qcom_ep_reset_assert(pcie);
15221522
err_disable_phy:
15231523
phy_power_off(pcie->phy);

0 commit comments

Comments
 (0)