Thread (19 messages) 19 messages, 5 authors, 2014-09-10

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

From: Chao Xie <hidden>
Date: 2014-09-10 01:46:36
Also in: linux-arm-kernel, lkml

At 2014-09-04 02:04:24, "Mike Turquette" [off-list ref] wrote:
Quoting Chao Xie (2014-08-25 21:38:14)
quoted
From: Chao Xie <redacted>

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 <redacted>
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.
I see the patch set [0] is V10 now, and it is not merged to clk-next yet.
So should i wait for the patch set to be merged, then send out the updated patches?
[0] http://lkml.kernel.org/r/[off-list ref]
[1] http://cgit.collabora.com/git/user/tomeu/linux.git/commit/?h=clk-refactoring-9&id=ea48c0d655346cce26329523cf24574f9ea8feee

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