Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 843130f3 authored by Ram Prakash Gupta's avatar Ram Prakash Gupta
Browse files

Revert "scsi: ufs-qcom: Abort phy power on sequence if clks are off"



This reverts commit 767358cd.

Revert as this change causing cx pc failure.

Change-Id: Ic2ee49b4420132dd7b118cd06689a875ff578928
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent 53efbbd8
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -494,16 +494,6 @@ static int ufs_qcom_phy_power_on(struct ufs_hba *hba)
	int ret = 0;

	mutex_lock(&host->phy_mutex);
	if (hba->curr_dev_pwr_mode == UFS_POWERDOWN_PWR_MODE &&
			hba->clk_gating.state != CLKS_ON) {
		ret = -1;
		dev_err(hba->dev, "%s: abort phy power on, clks are off %d\n",
				  __func__, ret);

		mutex_unlock(&host->phy_mutex);

		return ret;
	}
	if (!host->is_phy_pwr_on) {
		ret = phy_power_on(phy);
		if (ret) {