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

Russell King - ARM Linux
2012-03-22T00:42:58Z

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.