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

Commit d431041f 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: fix setting init power mode"

parents 48537d64 670eb6e8
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -3730,6 +3730,10 @@ static int ufshcd_link_startup(struct ufs_hba *hba)
		/* failed to get the link up... retire */
		goto out;

	/* Mark that link is up in PWM-G1, 1-lane, SLOW-AUTO mode */
	ufshcd_init_pwr_info(hba);
	ufshcd_print_pwr_info(hba);

	if (hba->quirks & UFSHCD_QUIRK_BROKEN_LCC) {
		ret = ufshcd_disable_device_tx_lcc(hba);
		if (ret)
@@ -5391,9 +5395,6 @@ static int ufshcd_probe_hba(struct ufs_hba *hba)
	if (ret)
		goto out;

	ufshcd_init_pwr_info(hba);
	ufshcd_print_pwr_info(hba);

	/* UniPro link is active now */
	ufshcd_set_link_active(hba);