From 5636363624b517f7ee59e2cee7b2a8a22f790a06 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sat, 14 Dec 2024 14:47:26 +0100 Subject: [PATCH] drivers: acpm_dvfs.c: Build with CONFIG_EXYNOS_DEBUG_FREQ nuked --- drivers/soc/samsung/cal-if/acpm_dvfs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/soc/samsung/cal-if/acpm_dvfs.c b/drivers/soc/samsung/cal-if/acpm_dvfs.c index e62db7dfa..97cd99555 100755 --- a/drivers/soc/samsung/cal-if/acpm_dvfs.c +++ b/drivers/soc/samsung/cal-if/acpm_dvfs.c @@ -37,7 +37,10 @@ int exynos_acpm_set_rate(unsigned int id, unsigned long rate, bool fast_switch) ch = fast_switch ? acpm_dvfs.fast_ch_num : acpm_dvfs.ch_num; + +#ifdef CONFIG_EXYNOS_DEBUG_FREQ secdbg_freq_check(id, rate); +#endif before = sched_clock(); ret = acpm_ipc_send_data(ch, &config); after = sched_clock();