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

Commit 81fb5ccf authored by Yaniv Gardi's avatar Yaniv Gardi
Browse files

scsi: ufs : Remove delay before changing power mode



This delay is not necessary anymore due to changes that
stabalized the platform.

Change-Id: I500dd3086b3449bb795422ab44458e7a41f1cbc7
Signed-off-by: default avatarRaviv Shvili <rshvili@codeaurora.org>
Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
parent 3392f4d9
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2059,9 +2059,6 @@ static int ufshcd_config_max_pwr_mode(struct ufs_hba *hba)
	u32 hs_rate = PA_HS_MODE_B;
	int ret;

	if (hba->quirks & UFSHCD_QUIRK_BROKEN_PWR_MODE_CHANGE)
		msleep(1000);

	/* Get the connected lane count */
	ufshcd_dme_get(hba, UIC_ARG_MIB(PA_CONNECTEDRXDATALANES), &lanes[RX]);
	ufshcd_dme_get(hba, UIC_ARG_MIB(PA_CONNECTEDTXDATALANES), &lanes[TX]);