scsi: ufs-qcom: allow HS-G3 on newer host controllers.
HS-G3 mode is working as expected with newer host controller revisions hence this change removes the restriction of only running in PWM gears. Change-Id: I4df0b6875455730e990a20a2810784f1c32d949f Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
This commit is contained in:
parent
0fe711f7ea
commit
465485894a
1 changed files with 0 additions and 7 deletions
|
@ -920,13 +920,6 @@ static int ufs_qcom_pwr_change_notify(struct ufs_hba *hba,
|
||||||
ufs_qcom_cap.hs_rx_gear = UFS_HS_G2;
|
ufs_qcom_cap.hs_rx_gear = UFS_HS_G2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Until High Speed gear mode is stabilized, operate in PWM gear
|
|
||||||
* mode for newer controller versions.
|
|
||||||
*/
|
|
||||||
if (host->hw_ver.major >= 0x2)
|
|
||||||
ufs_qcom_cap.desired_working_mode = SLOW;
|
|
||||||
|
|
||||||
ret = ufs_qcom_get_pwr_dev_param(&ufs_qcom_cap,
|
ret = ufs_qcom_get_pwr_dev_param(&ufs_qcom_cap,
|
||||||
dev_max_params,
|
dev_max_params,
|
||||||
dev_req_params);
|
dev_req_params);
|
||||||
|
|
Loading…
Add table
Reference in a new issue