Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1552361

[PATCH v3] soc: ti: wkup_m3_ipc: Drop wait from wkup_m3_rproc_boot_thread

From Sarangdhar Joshi <spjoshi@codeaurora.org>
Newsgroups linux.kernel
Subject [PATCH v3] soc: ti: wkup_m3_ipc: Drop wait from wkup_m3_rproc_boot_thread
Date 2017-01-05 23:10 +0100
Message-ID <sWoop-BR-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The function wkup_m3_rproc_boot_thread waits for asynchronous
firmware loading to parse the resource table before calling
rproc_boot(). However, as the resource table parsing has been
moved to rproc_boot(), there's no need to wait for the
asynchronous firmware loading completion.  So, drop this.

CC: Dave Gerlach <d-gerlach@ti.com>
CC: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
---

This patch seems to be doing an independent clean up now. Hence
removing it from the series.

Changes from v2:

* Updated the subject line as per Suman's comment

 drivers/soc/ti/wkup_m3_ipc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c
index 8823cc8..8bfa44b 100644
--- a/drivers/soc/ti/wkup_m3_ipc.c
+++ b/drivers/soc/ti/wkup_m3_ipc.c
@@ -370,8 +370,6 @@ static void wkup_m3_rproc_boot_thread(struct wkup_m3_ipc *m3_ipc)
 	struct device *dev = m3_ipc->dev;
 	int ret;
 
-	wait_for_completion(&m3_ipc->rproc->firmware_loading_complete);
-
 	init_completion(&m3_ipc->sync_complete);
 
 	ret = rproc_boot(m3_ipc->rproc);
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v3] soc: ti: wkup_m3_ipc: Drop wait from wkup_m3_rproc_boot_thread Sarangdhar Joshi <spjoshi@codeaurora.org> - 2017-01-05 23:10 +0100
  Re: [PATCH v3] soc: ti: wkup_m3_ipc: Drop wait from  wkup_m3_rproc_boot_thread Tony Lindgren <tony@atomide.com> - 2017-01-06 17:40 +0100
  Re: [PATCH v3] soc: ti: wkup_m3_ipc: Drop wait from  wkup_m3_rproc_boot_thread Tony Lindgren <tony@atomide.com> - 2017-01-09 20:40 +0100
    Re: [PATCH v3] soc: ti: wkup_m3_ipc: Drop wait from  wkup_m3_rproc_boot_thread Sarangdhar Joshi <spjoshi@codeaurora.org> - 2017-01-09 20:50 +0100

csiph-web