]> git.baikalelectronics.ru Git - kernel.git/commit
phy: qcom-qmp: fix pipe-clock imbalance on power-on failure
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 2 May 2022 13:31:29 +0000 (15:31 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 3 May 2022 04:42:03 +0000 (10:12 +0530)
commit41cc26106d4bceaab8571ad61280fc50a77b0baf
treeeb1c3af5470dd3c869322814b8e3d63b518508db
parent6091cbc8ea335925e8f91de69d6d76cd6ed1a1a4
phy: qcom-qmp: fix pipe-clock imbalance on power-on failure

Make sure to disable the pipe clock also if ufs-reset deassertion fails
during power on.

Note that the ufs-reset is asserted in qcom_qmp_phy_com_exit().

Fixes: bd9dc16b1dbd ("phy: qcom: Utilize UFS reset controller")
Cc: Evan Green <evgreen@chromium.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20220502133130.4125-2-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp.c