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

Commit ed89a4a8 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-msm: avoid powering off the device during system suspend"

parents c255ffa1 7225e281
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1829,12 +1829,11 @@ static int msm_ufs_init(struct ufs_hba *hba)
	msm_ufs_advertise_quirks(hba);
	if (hba->quirks & UFSHCD_QUIRK_BROKEN_SUSPEND) {
		/*
		 * During runtime suspend keep the device and the link active
		 * but shut-off the system clocks. During system suspend power
		 * off both link and device.
		 * During suspend keep the device and the link active
		 * but shut-off the system clocks.
		 */
		hba->rpm_lvl = UFS_PM_LVL_0;
		hba->spm_lvl = UFS_PM_LVL_4;
		hba->spm_lvl = UFS_PM_LVL_0;

	} else if (hba->quirks & UFSHCD_QUIRK_BROKEN_HIBERN8) {
		/*