lkml.org 
[lkml]   [2019]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/2] interconnect: Move qcom interconnect drivers to core_initcall
Date
Currently all the qcom interconnect drivers initialize at the device_initcall
level when they are built-in which is a problem since nearly all the frameworks
and leaf drivers in the SoC depend on interconnect in some fashion. While those
frameworks and drivers should be properly PROBE_DEFER aware it is in our best
interest to try not to defer just because we can. Move all the drivers to
core_initcall when built to increase the chance that they will be available when
their dependent drivers need them.

I also tossed on a quick cleanup patch to remove unneeded module exit code from
the core file since it is always built in.

Regards,
Jordan

Jordan Crouse (2):
interconnect: Move interconnect drivers to core_initcall
interconnect: Remove unused module exit code from core

drivers/interconnect/core.c | 7 +------
drivers/interconnect/qcom/msm8974.c | 14 +++++++++++++-
drivers/interconnect/qcom/qcs404.c | 14 +++++++++++++-
drivers/interconnect/qcom/sdm845.c | 13 ++++++++++++-
4 files changed, 39 insertions(+), 9 deletions(-)

--
2.7.4

\
 
 \ /
  Last update: 2019-10-31 19:29    [W:0.035 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site