[HACK/COMMON] scsi: ufs: disable pm qos int lock
authorKiwoong Kim <kwmad.kim@samsung.com>
Mon, 18 Sep 2017 12:53:28 +0000 (21:53 +0900)
committerJaeHun Jung <jh0801.jung@samsung.com>
Tue, 8 May 2018 08:21:48 +0000 (17:21 +0900)
Change-Id: I2510968684707fe85e64333df117b06e56224ca5
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
drivers/scsi/ufs/ufs-exynos.c

index e1ed7fc7916409516492e5e2b5281fe35ed3d70e..60514e5af671a3c963beaf47ff23463112d87f30 100644 (file)
@@ -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;