kernel-fxtec-pro1x/drivers/clk
Pawel Moll bf47b4fd8f clk: Check parent for NULL in clk_change_rate
clk_change_rate() is accessing parent's rate without checking
if the parent exists at all. In case of root clocks this will
cause NULL pointer dereference.

This patch follows what clk_calc_new_rates() does in such
situation.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Cc: stable@kernel.org
2012-06-25 16:51:48 -07:00
..
mxs mmc: mxs-mmc: get rid of the use of cpu_is_xxx 2012-05-13 08:05:31 +08:00
spear clk: SPEAr600: Fix ethernet clock name for DT based probing 2012-06-25 16:51:47 -07:00
clk-divider.c clk: Use a separate struct for holding init data. 2012-05-01 18:13:20 -07:00
clk-fixed-factor.c clk: add a fixed factor clock 2012-05-08 14:13:25 -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: mux: assign init data 2012-05-08 14:13:07 -07:00
clk.c clk: Check parent for NULL in clk_change_rate 2012-06-25 16:51:48 -07:00
clkdev.c CLKDEV: provide helpers for common clock framework 2012-05-02 09:30:32 +01:00
Kconfig clk: remove COMMON_CLK_DISABLE_UNUSED 2012-05-08 14:12:42 -07:00
Makefile Merge branch 'spear/clock' into next/clock 2012-05-13 00:11:06 +02:00