mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
The i2c-msm-v2 driver trying to get the clocks too early, but the clock framework is not initialized yet. The change of the initcall type reduce deferred calls and improve boot time. Info: [0.212999] i2c-msm-v2 78b6000.i2c: probing driver i2c-msm-v2 [0.213172] i2c-msm-v2 78b6000.i2c: error on clk_get(core_clk):-517 -- snipped -- [0.275922] i2c-msm-v2 78b6000.i2c: probing driver i2c-msm-v2 [0.276086] i2c-msm-v2 78b6000.i2c: error on clk_get(core_clk):-517 -- snipped -- [0.302980] msm_mpm_dev_probe(): Cannot get clk resource for XO: -517 [0.303394] i2c-msm-v2 78b6000.i2c: probing driver i2c-msm-v2 -- snipped -- Change-Id: Ia8c110b5f67eeec07586adb30ec3a7aff7ce265a Signed-off-by: Atanas Filipov <afilipov@codeaurora.org>