Locking in the clk API
Russell King - ARM Linux
linux at arm.linux.org.uk
Fri Jan 21 04:31:04 EST 2011
On Thu, Jan 20, 2011 at 07:43:23PM -0800, Saravana Kannan wrote:
> On 01/20/2011 10:57 AM, Russell King - ARM Linux wrote:
>> On Thu, Jan 20, 2011 at 04:32:44PM +0000, Ben Dooks wrote:
>>> I would vote for all clk lookup and reference counting code be made
>>> sleep-able and define it as such.
>>
>> Always has been and probably always will be.
>>
>
> clk_enable/disable APIs have refcounting and they certainly aren't
> sleep-able. I'm not sure if that's what Ben meant though.
Ben's talking about clk_get/clk_put. See "clk lookup" in his sentence.
More information about the linux-arm-kernel
mailing list