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

Commit 0e195ef0 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: relocating power change routine"

parents 4838b888 9a6a9269
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3732,7 +3732,6 @@ static int ufshcd_probe_hba(struct ufs_hba *hba)

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

	ret = ufshcd_verify_dev_init(hba);
	if (ret)
@@ -3747,6 +3746,8 @@ static int ufshcd_probe_hba(struct ufs_hba *hba)
	ufshcd_force_reset_auto_bkops(hba);
	hba->ufshcd_state = UFSHCD_STATE_OPERATIONAL;

	ufshcd_config_max_pwr_mode(hba);

	/*
	 * If we are in error handling context or in power management callbacks
	 * context, no need to scan the host