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

Commit a2e8aace authored by Sayali Lokhande's avatar Sayali Lokhande Committed by Gerrit - the friendly Code Review server
Browse files

drivers: phy: ufs: Use correct ufs PHY version for bengal



This change updates the check condition to callibrate
UFS phy based on correct version suffix.

Change-Id: I9cc1383f829057fdb04b07184284ee85c717fa1b
Signed-off-by: default avatarSayali Lokhande <sayalil@codeaurora.org>
parent 07c19948
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ int ufs_qcom_phy_qmp_v3_660_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy,
	tbl_size_B = ARRAY_SIZE(phy_cal_table_rate_B);
	tbl_B = phy_cal_table_rate_B;

	if ((major == 0x3) && (minor == 0x001) && (step >= 0x001)) {
	if ((major == 0x4) && (minor == 0x002) && (step >= 0x000)) {
		tbl_A = phy_cal_table_rate_A_3_1_1;
		tbl_size_A = ARRAY_SIZE(phy_cal_table_rate_A_3_1_1);
	} else {