summaryrefslogtreecommitdiff
path: root/drivers/clk/Kconfig
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2012-05-03 03:23:43 +0400
committerMike Turquette <mturquette@linaro.org>2012-05-09 01:11:53 +0400
commit63f5c3b2b18dcaca0fc8983b52a3f5d4d70a0590 (patch)
tree966cda40bacfc4be9dfc7c3b13427d7661665c2e /drivers/clk/Kconfig
parent7704addb60e274d4e98c69a02f7ebe3f77c6c3a4 (diff)
downloadlinux-63f5c3b2b18dcaca0fc8983b52a3f5d4d70a0590.tar.xz
clk: prevent spurious parent rate propagation
Patch 'clk: always pass parent_rate into .round_rate' made a subtle change to the semantics of .round_rate. It is now expected for the parent's rate to always be passed in, simplifying the implemenation of various .round_rate callback definitions. However the patch also introduced a bug in clk_calc_new_rates whereby a clock without the CLK_SET_RATE_PARENT flag set could still propagate a rate change up to a parent clock if the the .round_rate callback modified the &best_parent_rate value in any way. This patch fixes the issue at the framework level (in clk_calc_new_rates) by specifically handling the case where the CLK_SET_RATE_PARENT flag is not set. Signed-off-by: Mike Turquette <mturquette@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clk/Kconfig')
0 files changed, 0 insertions, 0 deletions