From bc902ab5e8d226641a1a9e760e05083e70d2e932 Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Thu, 26 Dec 2024 14:46:50 +0300 Subject: [PATCH] hook-functions: Handle msm hidden depency on qrtr We add `pmic_glink_altmode` to the initramfs as a hidden dependency for the `msm` module needed for display on Qualcomm devices. Following a dependency chain of `pmic_glink` -> `pdr_interface` -> `qmi_helpers`, modprobe also includes these along with it. Although the latter also has a hidden dependency on `qrtr` that we handle, `qrtr` can end up missing from the initramfs because we do not recursively handle hidden dependencies of hidden dependencies. Add `qrtr` also to the hidden dependency list of `msm` so it gets properly included in this case. Signed-off-by: Alper Nebi Yasak --- hook-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook-functions b/hook-functions index cf9ab3b..679ff15 100644 --- a/hook-functions +++ b/hook-functions @@ -911,7 +911,7 @@ hidden_dep_add_modules() ;; msm) # DP devices which don't have devlinks - echo pmic_glink_altmode gpio_sbu_mux + echo pmic_glink_altmode gpio_sbu_mux qrtr ;; esac done