Commit 01e7462
QCLINUX: qcom-dcc: use late_initcall and build as built-in for boot debug
The DCC device stub driver was registered with module_init(), which runs
during the initcall sequence before late_initcall(). The DCC hardware
depends on resources that are not yet available at that point, causing
the driver to fail silently during early boot.
Switch to late_initcall() so the driver initialises after all subsystem
dependencies are ready. Remove the module_exit() registration since the
driver is now built-in only.
Update qcom_debug.config to build CONFIG_QCOM_DCC and CONFIG_QCOM_DCC_DEV
as built-in (=y) instead of loadable modules (=m) to match the
late_initcall() requirement and allow early boot debugging.
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>1 parent 8afff78 commit 01e7462
2 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
962 | | - | |
963 | | - | |
| 962 | + | |
964 | 963 | | |
965 | 964 | | |
0 commit comments