kernel-ark/drivers/clk
Mike Turquette 63f5c3b2b1 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>
2012-05-08 14:11:53 -07:00
..
clk-divider.c clk: Use a separate struct for holding init data. 2012-05-01 18:13:20 -07:00
clk-fixed-rate.c clk: Use a separate struct for holding init data. 2012-05-01 18:13:20 -07:00
clk-gate.c clk: Use a separate struct for holding init data. 2012-05-01 18:13:20 -07:00
clk-mux.c clk: Use a separate struct for holding init data. 2012-05-01 18:13:20 -07:00
clk.c clk: prevent spurious parent rate propagation 2012-05-08 14:11:53 -07:00
clkdev.c
Kconfig clk: select CLKDEV_LOOKUP for COMMON_CLK 2012-04-24 16:37:41 -07:00
Makefile clk: basic clock hardware types 2012-03-16 20:35:02 +00:00