Subject: [PATCH 02/12] clk: mmp: add spin lock for clk-frac

From: [email-masked] (Mike Turquette)
Date: Wed, 03 Sep 2014 11:04:24 -0700

Quoting Chao Xie (2014-08-25 21:38:14)
> From: Chao Xie <[email-masked]>
> 
> The register used by clk-frac may be shared with
> other clocks.
> So it needs to use spin lock to protect the register
> access.
> 
> Signed-off-by: Chao Xie <[email-masked]>

This patch will break against the latest clk-next due to api changes.
You can see more here[0] and use this script to update your code if you
like[1].

Basically the calls to clk_set_rate need to be changed to
clk_provider_set_rate.

[0] http://lkml.kernel.org/r/<[email-masked]>
[1] http://cgit.collabora.com/git/user/tomeu/linux.git/commit/?h=clk-refactoring-9&id=ea48c0d655346cce26329523cf24574f9ea8feee

Regards,
Mike