summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatish Babu Patakokila <quic_spatakok@quicinc.com>2022-10-06 16:20:28 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2022-10-07 03:23:13 -0700
commit68460fa48df2da1b5b29f82a5526795edc12a4f1 (patch)
tree27d87d52c3191d442fe4487a7102e290f461607e
parent255025397cadb164e1e503ac94d4afcf65a89db3 (diff)
downloadmsm-extra-68460fa48df2da1b5b29f82a5526795edc12a4f1.tar.gz
dsp: adsp-loader: Return after loading the modem image
Exit the function after loading modem image. Avoid falling through to load ADSP image as well. Change-Id: I9d9bb3ea1bee0ce7f5569eb8ba9f7490876bfa17 Signed-off-by: Satish Babu Patakokila <quic_spatakok@quicinc.com>
-rw-r--r--dsp/adsp-loader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dsp/adsp-loader.c b/dsp/adsp-loader.c
index e465d72f..8b1fc8b0 100644
--- a/dsp/adsp-loader.c
+++ b/dsp/adsp-loader.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2012-2014, 2017-2021, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <linux/init.h>
@@ -131,6 +132,7 @@ static void adsp_load_fw(struct work_struct *adsp_ldr_work)
}
dev_dbg(&pdev->dev, "%s: Q6/MDSP image is loaded\n", __func__);
+ return;
}
load_adsp: