From: hgchu Date: Fri, 19 Jan 2018 04:26:42 +0000 (+0900) Subject: [COMMON] scsi: ufs: exynos: enable pm features for exynos9810 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2615034d3f4db85dc7eb01b92b01c764674f617e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] scsi: ufs: exynos: enable pm features for exynos9810 Change-Id: I9d35ac0a986623b722fef83ac5d0a465b4f24d5a Signed-off-by: hgchu --- diff --git a/drivers/scsi/ufs/ufs-exynos.c b/drivers/scsi/ufs/ufs-exynos.c index b06893367536..999225d92f57 100644 --- a/drivers/scsi/ufs/ufs-exynos.c +++ b/drivers/scsi/ufs/ufs-exynos.c @@ -14,8 +14,8 @@ #include #include #include -//#include -//#include +#include +#include #include "ufshcd.h" #include "unipro.h" #include "mphy.h" @@ -664,7 +664,7 @@ static int exynos_ufs_pre_setup_clocks(struct ufs_hba *hba, bool on) /* HWAGC disable */ exynos_ufs_set_hwacg_control(ufs, false); } else { -// pm_qos_update_request(&ufs->pm_qos_int, 0); + pm_qos_update_request(&ufs->pm_qos_fsys0, 0); /* * BG/SQ off @@ -686,7 +686,7 @@ static int exynos_ufs_setup_clocks(struct ufs_hba *hba, bool on) */ ret = ufs_pre_h8_exit(ufs); -// pm_qos_update_request(&ufs->pm_qos_int, ufs->pm_qos_int_value); + pm_qos_update_request(&ufs->pm_qos_fsys0, ufs->pm_qos_fsys0_value); } else { /* @@ -847,7 +847,7 @@ static int __exynos_ufs_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) { struct exynos_ufs *ufs = to_exynos_ufs(hba); -// pm_qos_update_request(&ufs->pm_qos_int, 0); + pm_qos_update_request(&ufs->pm_qos_fsys0, 0); exynos_ufs_dev_reset_ctrl(ufs, false); @@ -1133,7 +1133,7 @@ static int exynos_ufs_probe(struct platform_device *pdev) dev->platform_data = ufs; dev->dma_mask = &exynos_ufs_dma_mask; -// pm_qos_add_request(&ufs->pm_qos_int, PM_QOS_DEVICE_THROUGHPUT, 0); + pm_qos_add_request(&ufs->pm_qos_fsys0, PM_QOS_FSYS0_THROUGHPUT, 0); ret = ufshcd_pltfrm_init(pdev, &exynos_ufs_ops);