Thread (126 messages) flat view 126 messages, 18 authors, 2011-04-20

Re: [RFC,PATCH 1/3] Add a common struct clk

From: Jeremy Kerr <hidden>
Date: 2011-02-08 01:40:46
Also in: linux-arm-kernel, lkml

Hi Ryan,
quoted
+int clk_enable(struct clk *clk)
+{
+       int ret = 0;
+
+       if (!clk->ops->enable)
+               return 0;
+
+       spin_lock(&clk->enable_lock);
spin_lock_irqsave/spin_unlock_irqrestore.  This could get called with
irqs on or off.
Ah, I had planned to change this but (obviously) didn't get to it. Thanks for 
the reminder, I'll include this in the next revision.

Cheers,


Jeremy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help