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

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

 



On Fri, Jul 30, 2010 at 1:20 PM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, Jul 30, 2010 at 12:56:33PM -0700, Colin Cross wrote:
>> On Fri, Jul 30, 2010 at 6:11 AM, Dominik Brodowski
>
>> >> + ? ? ret = clk_set_rate_cansleep(cpu_clk, freqs.new * 1000);
>> > "can sleep"? For how long?
>
>> Adjusting the CPU clock may require changing the voltage through the
>> regulator api, which locks a mutex, and eventually through I2C, which
>> sleeps on I2C completion.
>
> ...although in some systems the I2C cost will be replaced with updating
> a GPIO which is very much cheaper.

Yes, but even on a GPIO regulator, the regulator api will lock a mutex
and possibly schedule.
--
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