cal-if: acpm_dvfs: guard secdbg_freq_check usage

Signed-off-by: Nahuel Gómez <nahuelgomez329@gmail.com>
This commit is contained in:
Nahuel Gómez 2024-11-29 00:37:02 -03:00 committed by Ksawlii
parent b72ccd1e47
commit a5f833d5c7

View file

@ -37,7 +37,9 @@ 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;
#if defined(CONFIG_EXYNOS_DEBUG_FREQ)
secdbg_freq_check(id, rate);
#endif
before = sched_clock();
ret = acpm_ipc_send_data(ch, &config);
after = sched_clock();