Re: [PATCH 9/9] [ARM] tegra: Add cpufreq support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

just a few minor comments:

On Thu, Jul 29, 2010 at 05:29:30PM -0700, Colin Cross wrote:
> +int tegra_verify_speed(struct cpufreq_policy *policy)
static int

> +unsigned int tegra_getspeed(unsigned int cpu)
static unsined int

> +	for_each_online_cpu(freqs.cpu)
> +		cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
> +
> +#ifdef CONFIG_CPU_FREQ_DEBUG
> +	printk(KERN_DEBUG "cpufreq-tegra: transition: %u --> %u\n",
> +	       freqs.old, freqs.new);
> +#endif
What about using cpufreq_debug_printk(CPUFREQ_DEBUG_DRIVER, ... ) here?

> +
> +	ret = clk_set_rate_cansleep(cpu_clk, freqs.new * 1000);
"can sleep"? For how long?

Best,
	Dominik
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux