Files
i2som-imx-linux/drivers/clk
Pawel Moll 871d4f5e1d clk: Check parent for NULL in clk_change_rate
commit bf47b4fd8f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-19 08:58:59 -07:00
..
2012-03-16 20:35:02 +00:00
2012-03-16 20:35:02 +00:00
2012-03-16 20:35:02 +00:00
2012-03-19 09:37:11 +00:00
2012-03-16 20:35:02 +00:00