linux-stable/drivers/clk/zte
Stephen Boyd 2cca24b2cb clk: zx296718: Don't reference clk_init_data after registration
[ Upstream commit 1a4549c150 ]

A future patch is going to change semantics of clk_register() so that
clk_hw::init is guaranteed to be NULL after a clk is registered. Avoid
referencing this member here so that we don't run into NULL pointer
exceptions.

Cc: Jun Nie <jun.nie@linaro.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190815160020.183334-3-sboyd@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-10-07 18:56:46 +02:00
..
clk-zx296702.c
clk-zx296718.c clk: zx296718: Don't reference clk_init_data after registration 2019-10-07 18:56:46 +02:00
clk.c clk: zte: pd_bit is not 0 on zx296718 2017-04-12 18:51:31 +02:00
clk.h clk: move clock common macros out from vendor directories 2017-12-21 15:00:38 -08:00
Makefile clk: zx: register ZX296718 clocks 2016-09-14 13:50:33 -07:00