android_kernel_samsung_a7y1.../drivers/clk/sirf
Stephen Boyd 8ba1661b15 clk: sirf: Don't reference clk_init_data after registration
[ Upstream commit af55dadfbce35b4f4c6247244ce3e44b2e242b84 ]

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: Guo Zeng <Guo.Zeng@csr.com>
Cc: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190731193517.237136-6-sboyd@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 07:42:56 +02:00
..
atlas6.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
clk-atlas6.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
clk-atlas7.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
clk-common.c clk: sirf: Don't reference clk_init_data after registration 2020-04-07 07:42:56 +02:00
clk-prima2.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
prima2.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30