Merge "ufs: ufs-qcom: Set spm level 5 for S2D"
This commit is contained in:
commit
939ed9cfe5
@ -6073,11 +6073,16 @@ static void ufs_qcom_resume_complete(struct device *dev)
|
||||
|
||||
static int ufs_qcom_system_freeze(struct device *dev)
|
||||
{
|
||||
struct ufs_hba *hba = NULL;
|
||||
|
||||
if (!is_bootdevice_ufs) {
|
||||
dev_info(dev, "UFS is not boot dev.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
hba = dev_get_drvdata(dev);
|
||||
hba->spm_lvl = UFS_PM_LVL_5;
|
||||
|
||||
return ufshcd_system_freeze(dev);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user