linux_old1/drivers/clk/zte
Shawn Guo c72f2883c3 clk: zx296718: register driver earlier with core_initcall
Clock driver should be registered with an earlier initcall than
module_init which is used by most of client device drivers.  Otherwise,
probing of these client drivers will likely be deferred due to that
calls into clk API will return -EPROBE_DEFER.

Deferred probing is not a problem for most subsystems, but could bring
some side effect for particular subsystem, like display.  On ZX296718
platform, we get Linux logo and boot log lost from display device, just
because the DRM/KMS driver gets -EPROBE_DEFER from devm_clk_get() call.

Let's use core_initcall (qcom and a few other clk drivers use that) for
driver registration to avoid those unnecessary -EPROBE_DEFER and get rid
of the side effect with ZX296718 display system.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-09-23 14:42:13 -07:00
..
Makefile clk: zx: register ZX296718 clocks 2016-09-14 13:50:33 -07:00
clk-zx296702.c clk: zte: Remove CLK_IS_ROOT 2016-04-15 16:50:07 -07:00
clk-zx296718.c clk: zx296718: register driver earlier with core_initcall 2016-09-23 14:42:13 -07:00
clk.c clk: zx: reform pll config info to ease code extension 2016-09-14 13:48:32 -07:00
clk.h clk: zx: register ZX296718 clocks 2016-09-14 13:50:33 -07:00