mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
7452b2191c
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> |
||
---|---|---|
.. | ||
clk-divider.c | ||
clk-fixed-rate.c | ||
clk-gate.c | ||
clk-mux.c | ||
clk.c | ||
clkdev.c | ||
Kconfig | ||
Makefile |