mirror-linux/drivers/phy/qualcomm
Johan Hovold 867ad8cba2 phy: qcom-qmp-pcie-msm8996: fix init-count imbalance
commit e42f110700 upstream.

The init counter is not decremented on initialisation errors, which
prevents retrying initialisation.

Add the missing decrement on initialisation errors so that the counter
reflects the state of the device.

Fixes: e78f3d15e1 ("phy: qcom-qmp: new qmp phy driver for qcom-chipsets")
Cc: stable@vger.kernel.org      # 4.12
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230502103810.12061-3-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-09 10:34:23 +02:00
..
Kconfig
Makefile
phy-ath79-usb.c
phy-qcom-apq8064-sata.c
phy-qcom-edp.c
phy-qcom-ipq806x-sata.c
phy-qcom-ipq806x-usb.c
phy-qcom-ipq4019-usb.c
phy-qcom-pcie2.c
phy-qcom-qmp-combo.c phy: qcom-qmp-combo: fix init-count imbalance 2023-06-09 10:34:23 +02:00
phy-qcom-qmp-pcie-msm8996.c phy: qcom-qmp-pcie-msm8996: fix init-count imbalance 2023-06-09 10:34:23 +02:00
phy-qcom-qmp-pcie-qhp.h
phy-qcom-qmp-pcie.c
phy-qcom-qmp-pcs-misc-v3.h
phy-qcom-qmp-pcs-pcie-v4.h
phy-qcom-qmp-pcs-pcie-v4_20.h
phy-qcom-qmp-pcs-pcie-v5.h
phy-qcom-qmp-pcs-pcie-v5_20.h
phy-qcom-qmp-pcs-ufs-v3.h
phy-qcom-qmp-pcs-ufs-v4.h
phy-qcom-qmp-pcs-ufs-v5.h
phy-qcom-qmp-pcs-usb-v4.h
phy-qcom-qmp-pcs-usb-v5.h
phy-qcom-qmp-pcs-v2.h
phy-qcom-qmp-pcs-v3.h
phy-qcom-qmp-pcs-v4.h
phy-qcom-qmp-pcs-v4_20.h
phy-qcom-qmp-pcs-v5.h
phy-qcom-qmp-pcs-v5_20.h
phy-qcom-qmp-qserdes-com-v3.h
phy-qcom-qmp-qserdes-com-v4.h
phy-qcom-qmp-qserdes-com-v5.h
phy-qcom-qmp-qserdes-com.h
phy-qcom-qmp-qserdes-pll.h
phy-qcom-qmp-qserdes-txrx-v3.h
phy-qcom-qmp-qserdes-txrx-v4.h
phy-qcom-qmp-qserdes-txrx-v4_20.h
phy-qcom-qmp-qserdes-txrx-v5.h
phy-qcom-qmp-qserdes-txrx-v5_5nm.h
phy-qcom-qmp-qserdes-txrx-v5_20.h
phy-qcom-qmp-qserdes-txrx.h
phy-qcom-qmp-ufs.c
phy-qcom-qmp-usb.c
phy-qcom-qmp.h
phy-qcom-qusb2.c
phy-qcom-snps-femto-v2.c
phy-qcom-usb-hs-28nm.c
phy-qcom-usb-hs.c
phy-qcom-usb-hsic.c
phy-qcom-usb-ss.c