scsi: ufs-mediatek: enable auto suspend capability
Enable auto suspend capability in MediaTek UFS driver. Link: https://lore.kernel.org/r/1568649411-5127-4-git-send-email-stanley.chu@mediatek.com Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
49615ba144
commit
e6d6ba8014
|
@ -147,6 +147,9 @@ static int ufs_mtk_init(struct ufs_hba *hba)
|
|||
if (err)
|
||||
goto out_variant_clear;
|
||||
|
||||
/* Enable runtime autosuspend */
|
||||
hba->caps |= UFSHCD_CAP_RPM_AUTOSUSPEND;
|
||||
|
||||
/*
|
||||
* ufshcd_vops_init() is invoked after
|
||||
* ufshcd_setup_clock(true) in ufshcd_hba_init() thus
|
||||
|
|
Loading…
Reference in New Issue