[PATCH V2 0/3] clk: Fixup issues for clk_set_parent
Ulf Hansson
ulf.hansson at stericsson.com
Thu Mar 21 09:48:10 EDT 2013
From: Ulf Hansson <ulf.hansson at linaro.org>
Issues with racing for fetching spinlocks is present in the
clk_set_parent API. This patchset is trying to fixup these issues.
In short, while updating the clock tree toplogy the spinlock must be held
to prevent enable_count from being messed up.
Patch 1 and 2 prepares for patch 3, which is where the real issue are
resolved.
Changes in v2:
- Do not remove the existing __clk_reparent API.
- Rebase patches.
Ulf Hansson (3):
clk: Restructure code for __clk_reparent
clk: Improve errorhandling for clk_set_parent
clk: Fixup locking issues for clk_set_parent
drivers/clk/clk.c | 184 +++++++++++++++++++++++++++++++++++------------------
1 file changed, 122 insertions(+), 62 deletions(-)
--
1.7.10
More information about the linux-arm-kernel
mailing list