summaryrefslogtreecommitdiff
path: root/drivers/clk/Makefile
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2013-04-03 01:09:39 +0400
committerMike Turquette <mturquette@linaro.org>2013-04-09 05:19:40 +0400
commita68de8e4ab2756d8e125cf327f044c895b6a6b3d (patch)
tree889c89b211daef76880c3563f20b2423fca771c7 /drivers/clk/Makefile
parent031dcc9bd4164a7482b89987d5b9ecb3af5e9033 (diff)
downloadlinux-a68de8e4ab2756d8e125cf327f044c895b6a6b3d.tar.xz
clk: Fixup locking issues for clk_set_parent
Updating the clock tree topology must be protected with the spinlock when doing clk_set_parent, otherwise we can not handle the migration of the enable_count in a safe manner. While issuing the .set_parent callback to make the clk-hw perform the switch to the new parent, we can not hold the spinlock since it is must be allowed to be slow path. This complicates error handling, but is still possible to achieve. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Cc: Rajagopal Venkat <rajagopal.venkat@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/Makefile')
0 files changed, 0 insertions, 0 deletions