From: Sarangdhar Joshi Date: Thu, 5 Jan 2017 22:00:15 +0000 (-0800) Subject: soc: ti: wkup_m3_ipc: Drop wait from wkup_m3_rproc_boot_thread X-Git-Tag: v4.11-rc1~85^2~8^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36cc9fd9ce0fd0e4654890aa347d258616aef5fa;p=thirdparty%2Fkernel%2Flinux.git soc: ti: wkup_m3_ipc: Drop wait from wkup_m3_rproc_boot_thread 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 CC: Bjorn Andersson Tested-by: Suman Anna Signed-off-by: Sarangdhar Joshi Signed-off-by: Tony Lindgren --- diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c index 8823cc81ae453..8bfa44b08e03a 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);