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

Commit 109b4f2b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: change device rails hpm mode ramp up sequence"

parents 502e8b01 3d48a7fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7664,7 +7664,6 @@ static int ufshcd_vreg_set_hpm(struct ufs_hba *hba)
	    !hba->dev_info.is_lu_power_on_wp) {
		ret = ufshcd_setup_vreg(hba, true);
	} else if (!ufshcd_is_ufs_dev_active(hba)) {
		ret = ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, true);
		if (!ret && !ufshcd_is_link_active(hba)) {
			ret = ufshcd_config_vreg_hpm(hba, hba->vreg_info.vccq);
			if (ret)
@@ -7673,6 +7672,7 @@ static int ufshcd_vreg_set_hpm(struct ufs_hba *hba)
			if (ret)
				goto vccq_lpm;
		}
		ret = ufshcd_toggle_vreg(hba->dev, hba->vreg_info.vcc, true);
	}
	goto out;