cal-if: acpm_dvfs: guard secdbg_freq_check usage
Signed-off-by: Nahuel Gómez <nahuelgomez329@gmail.com>
This commit is contained in:
parent
b72ccd1e47
commit
a5f833d5c7
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue