soc: ti: wkup_m3_ipc: Drop wait from wkup_m3_rproc_boot_thread
authorSarangdhar Joshi <spjoshi@codeaurora.org>
Thu, 5 Jan 2017 22:00:15 +0000 (14:00 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 6 Jan 2017 16:37:39 +0000 (08:37 -0800)
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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/soc/ti/wkup_m3_ipc.c

index 8823cc8..8bfa44b 100644 (file)
@@ -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);