Files
Mikko Perttunen 920b0e3c5e clk: tegra: bpmp: Don't crash when a clock fails to register
[ Upstream commit f7b3182232 ]

When registering clocks, we just skip any that fail to register
(leaving a NULL hole in the clock table). However, our of_xlate
function still tries to dereference each entry while looking for
the clock with the requested id, causing a crash if any clocks
failed to register. Add a check to of_xlate to skip any NULL
clocks.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-26 08:39:43 +02:00
..
…
2018-06-15 18:10:01 -03:00
…
…
2017-12-28 10:43:30 -08:00
2018-06-12 16:19:22 -07:00
…
2018-03-16 15:53:30 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
…
…