Revert "[HACK][9610] bts: disable PM QoS request"
authorChungwoo Park <cww.park@samsung.com>
Mon, 14 May 2018 12:42:07 +0000 (21:42 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:26:27 +0000 (17:26 +0900)
This reverts commit aa6f441e35a565319cef69f1b47900de5b7d3f64.

Change-Id: I5cb311bc240f18ee2a7959a1cc99e40e5e00a24d
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
drivers/bts/bts-exynos9610.c

index 06039463f0904209b27ea2a3d10d412a70414b9b..92d2879c5ae40b5dfe1576fcd0a37bbcbe4f9bae 100644 (file)
@@ -165,10 +165,8 @@ struct trex_info {
        unsigned int write;
 };
 
-#if 0
 static struct pm_qos_request exynos_mif_bts_qos;
 static struct pm_qos_request exynos_int_bts_qos;
-#endif
 static DEFINE_SPINLOCK(bts_lock);
 static DEFINE_MUTEX(media_mutex);
 
@@ -1412,10 +1410,8 @@ void bts_update_bw(enum bts_bw_type type, struct bts_bw bw)
        mif_freq = total_bw * 100 / BUS_WIDTH / exynos_mif_util;
        int_freq = int_bw * 100 / BUS_WIDTH / exynos_int_util;
 
-#if 0
        pm_qos_update_request(&exynos_mif_bts_qos, mif_freq);
        pm_qos_update_request(&exynos_int_bts_qos, int_freq);
-#endif
 
        BTS_DBG("[BTS] BW(KB/s): type%i bw %up %ur %uw,\n",
                                type, bw.peak, bw.read, bw.write);
@@ -3331,10 +3327,8 @@ static int __init exynos_bts_init(void)
 
        bts_initialize_domains();
 
-#if 0
        pm_qos_add_request(&exynos_mif_bts_qos, PM_QOS_BUS_THROUGHPUT, 0);
        pm_qos_add_request(&exynos_int_bts_qos, PM_QOS_DEVICE_THROUGHPUT, 0);
-#endif
        register_syscore_ops(&exynos_bts_syscore_ops);
 
        bts_debugfs();