From: Chungwoo Park Date: Mon, 14 May 2018 12:42:07 +0000 (+0900) Subject: Revert "[HACK][9610] bts: disable PM QoS request" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=86b6fbf0a3b40cfeed431fbfa326e04b08f2c7fc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "[HACK][9610] bts: disable PM QoS request" This reverts commit aa6f441e35a565319cef69f1b47900de5b7d3f64. Change-Id: I5cb311bc240f18ee2a7959a1cc99e40e5e00a24d Signed-off-by: Chungwoo Park --- diff --git a/drivers/bts/bts-exynos9610.c b/drivers/bts/bts-exynos9610.c index 06039463f090..92d2879c5ae4 100644 --- a/drivers/bts/bts-exynos9610.c +++ b/drivers/bts/bts-exynos9610.c @@ -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();