From: lakkyung.jung Date: Tue, 15 May 2018 08:17:29 +0000 (+0900) Subject: [COMMON] cpufreq: acme: Change debug from ess to dss. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b55ac157a65a4f27de21b439cce5ccebf156d49;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] cpufreq: acme: Change debug from ess to dss. Change-Id: I257604fe3dba493a53d94406fec2c8f08beff831 Signed-off-by: lakkyung.jung --- diff --git a/drivers/cpufreq/exynos-acme.c b/drivers/cpufreq/exynos-acme.c index 4d93cb523cdc..959a2220b160 100644 --- a/drivers/cpufreq/exynos-acme.c +++ b/drivers/cpufreq/exynos-acme.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include #include @@ -169,16 +169,16 @@ static int set_freq(struct exynos_cpufreq_domain *domain, if (domain->need_awake) disable_power_mode(cpumask_any(&domain->cpus), POWERMODE_TYPE_CLUSTER); - exynos_ss_printk("ID %d: %d -> %d (%d)\n", - domain->id, domain->old, target_freq, ESS_FLAG_IN); + dbg_snapshot_printk("ID %d: %d -> %d (%d)\n", + domain->id, domain->old, target_freq, DSS_FLAG_IN); err = cal_dfs_set_rate(domain->cal_id, target_freq); if (err < 0) pr_err("failed to scale frequency of domain%d (%d -> %d)\n", domain->id, domain->old, target_freq); - exynos_ss_printk("ID %d: %d -> %d (%d)\n", - domain->id, domain->old, target_freq, ESS_FLAG_OUT); + dbg_snapshot_printk("ID %d: %d -> %d (%d)\n", + domain->id, domain->old, target_freq, DSS_FLAG_OUT); if (domain->need_awake) enable_power_mode(cpumask_any(&domain->cpus), POWERMODE_TYPE_CLUSTER); @@ -235,7 +235,7 @@ static int scale(struct exynos_cpufreq_domain *domain, }; cpufreq_freq_transition_begin(policy, &freqs); - exynos_ss_freq(domain->id, domain->old, target_freq, ESS_FLAG_IN); + dbg_snapshot_freq(domain->id, domain->old, target_freq, DSS_FLAG_IN); ret = pre_scale(); if (ret) @@ -252,8 +252,8 @@ static int scale(struct exynos_cpufreq_domain *domain, fail_scale: /* In scaling failure case, logs -1 to exynos snapshot */ - exynos_ss_freq(domain->id, domain->old, target_freq, - ret < 0 ? ret : ESS_FLAG_OUT); + dbg_snapshot_freq(domain->id, domain->old, target_freq, + ret < 0 ? ret : DSS_FLAG_OUT); cpufreq_freq_transition_end(policy, &freqs, ret); return ret;