linux/drivers/clk
Mike Turquette 7452b2191c clk: core: clk_calc_new_rates handles NULL parents
It is possible to call clk_set_rate on a clock with a NULL parent.  One
such example is an adjustable-rate root clock.  Ensure that
clk_calc_new_rates does not dereference parent without checking first
and also handle the corner cases gracefully.

Reported-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2012-04-24 16:37:37 -07:00
..
clk-divider.c clk: basic clock hardware types 2012-03-16 20:35:02 +00:00
clk-fixed-rate.c clk: basic clock hardware types 2012-03-16 20:35:02 +00:00
clk-gate.c clk: basic clock hardware types 2012-03-16 20:35:02 +00:00
clk-mux.c clk: basic clock hardware types 2012-03-16 20:35:02 +00:00
clk.c clk: core: clk_calc_new_rates handles NULL parents 2012-04-24 16:37:37 -07:00
clkdev.c CLKDEV: Fix clkdev return value for NULL clk case 2011-04-30 10:14:08 +01:00
Kconfig clk: make CONFIG_COMMON_CLK invisible 2012-03-19 09:37:11 +00:00
Makefile clk: basic clock hardware types 2012-03-16 20:35:02 +00:00