[PATCH 2/2] soc: qcom: mdt_loader: Fix qcom_mdt_pas_load() kerneldoc

From: Shawn Guo

Date: Wed Apr 29 2026 - 07:55:02 EST


The PAS context helper function added by commit ccb7bde5f7cc ("firmware:
qcom_scm: Introduce PAS context allocator helper function") is
devm_qcom_scm_pas_context_alloc() rather than qcom_scm_pas_context_init().

Fixes: 8a4fcffde6c8 ("soc: qcom: mdtloader: Add PAS context aware qcom_mdt_pas_load() function")
Signed-off-by: Shawn Guo <shengchao.guo@xxxxxxxxxxxxxxxx>
---
drivers/soc/qcom/mdt_loader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/qcom/mdt_loader.c b/drivers/soc/qcom/mdt_loader.c
index c004d444d698..75c1d472d930 100644
--- a/drivers/soc/qcom/mdt_loader.c
+++ b/drivers/soc/qcom/mdt_loader.c
@@ -472,7 +472,7 @@ EXPORT_SYMBOL_GPL(qcom_mdt_load);
* firmware segments (e.g., .bXX files). Authentication of the segments done
* by a separate call.
*
- * The PAS context must be initialized using qcom_scm_pas_context_init()
+ * The PAS context must be initialized using devm_qcom_scm_pas_context_alloc()
* prior to invoking this function.
*
* @ctx: Pointer to the PAS (Peripheral Authentication Service) context
--
2.43.0