[PATCH v7 1/3] Documentation: common clk API

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Mar 21 20:42:58 EDT 2012


On Wed, Mar 21, 2012 at 12:41:41PM -0700, Saravana Kannan wrote:
> The meaning of clk_enable/disable has been changed and they won't work  
> without calling clk_prepare/unprepare. So, these are definitely new  
> APIs. If it weren't new APIs, then none of the general drivers would  
> need to change.

Yes and no.  I disagree that the meaning of clk_enable/disable() has
changed.  It hasn't.  What has changed is the preconditions for calling
those functions, and necessarily so in the interest of being able to
unify the different implementations.



More information about the linux-arm-kernel mailing list