mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
rk30: cpufreq: fix rk30_cpu_exit for cpu 1
This commit is contained in:
@@ -272,6 +272,8 @@ static int rk30_cpu_init(struct cpufreq_policy *policy)
|
||||
|
||||
static int rk30_cpu_exit(struct cpufreq_policy *policy)
|
||||
{
|
||||
if (policy->cpu != 0)
|
||||
return 0;
|
||||
cpufreq_frequency_table_cpuinfo(policy, freq_table);
|
||||
clk_put(cpu_clk);
|
||||
#ifdef CONFIG_RK30_CPU_FREQ_LIMIT_BY_TEMP
|
||||
|
||||
Reference in New Issue
Block a user