Files
linux/include
Cai Li dc97e9ecd8 clk: fix a panic error caused by accessing NULL pointer
[ Upstream commit 975b820b68 ]

In some cases the clock parent would be set NULL when doing re-parent,
it will cause a NULL pointer accessing if clk_set trace event is
enabled.

This patch sets the parent as "none" if the input parameter is NULL.

Fixes: dfc202ead3 (clk: Add tracepoints for hardware operations)
Signed-off-by: Cai Li <cai.li@spreadtrum.com>
Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:03:41 +01:00
..
2015-11-07 01:30:10 +01:00
2018-01-23 19:50:12 +01:00
2017-12-16 10:33:49 +01:00
2018-02-25 11:03:40 +01:00
2018-01-23 19:50:14 +01:00
2017-03-12 06:37:24 +01:00
2017-10-05 09:41:48 +02:00