From 26317dc3f9ad36a8e1275524d038fa8365aad6da Mon Sep 17 00:00:00 2001 From: Kiwoong Kim Date: Mon, 18 Sep 2017 21:53:28 +0900 Subject: [PATCH] [HACK/COMMON] scsi: ufs: disable pm qos int lock Change-Id: I2510968684707fe85e64333df117b06e56224ca5 Signed-off-by: Kiwoong Kim --- drivers/scsi/ufs/ufs-exynos.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/ufs/ufs-exynos.c b/drivers/scsi/ufs/ufs-exynos.c index e1ed7fc79164..60514e5af671 100644 --- a/drivers/scsi/ufs/ufs-exynos.c +++ b/drivers/scsi/ufs/ufs-exynos.c @@ -730,7 +730,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_int, 0); // pm_qos_update_request(&ufs->pm_qos_fsys0, 0); /* @@ -754,7 +754,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_int, ufs->pm_qos_int_value); // pm_qos_update_request(&ufs->pm_qos_fsys0, ufs->pm_qos_fsys0_value); } else { @@ -924,7 +924,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_int, 0); // pm_qos_update_request(&ufs->pm_qos_fsys0, 0); exynos_ufs_dev_reset_ctrl(ufs, false); @@ -1299,8 +1299,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_int, PM_QOS_DEVICE_THROUGHPUT, 0); // pm_qos_add_request(&ufs->pm_qos_fsys0, PM_QOS_FSYS0_THROUGHPUT, 0); if (ufs->tcxo_ex_ctrl) spin_lock_init(&fsys0_tcxo_lock); @@ -1316,7 +1315,8 @@ static int exynos_ufs_remove(struct platform_device *pdev) ufshcd_pltfrm_exit(pdev); - pm_qos_remove_request(&ufs->pm_qos_fsys0); +// pm_qos_remove_request(&ufs->pm_qos_fsys0); +// pm_qos_remove_request(&ufs->pm_qos_int); ufs->misc_flags = EXYNOS_UFS_MISC_TOGGLE_LOG; -- 2.20.1