From patchwork Tue Jan 3 23:41:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sarangdhar Joshi X-Patchwork-Id: 9495927 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4E69560405 for ; Tue, 3 Jan 2017 23:49:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F3B31FF8E for ; Tue, 3 Jan 2017 23:49:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3095C266F3; Tue, 3 Jan 2017 23:49:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEF9F1FF8E for ; Tue, 3 Jan 2017 23:49:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964901AbdACXtc (ORCPT ); Tue, 3 Jan 2017 18:49:32 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:49440 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966746AbdACXtb (ORCPT ); Tue, 3 Jan 2017 18:49:31 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 99F45612CF; Tue, 3 Jan 2017 23:41:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1483486900; bh=z+Sg0EaFvZ5SWMjad3hOokQMjBnEr+06RxfJIMhMDcQ=; h=From:To:Cc:Subject:Date:From; b=FjJ/gfe2VfG1NucWMo5l0vXA0lp6wxo+eITzus+1w2KN+nbQn1/mJk+3nSc8P9H0F SZJbMe91FzTnuCsImNxlGf14o0VGSBfRr59WxNRXYBcz7tpLmXaPQuPHVaQ1Ryez5j TtlE7qSHnQF0r1kW6ketyRdi5luTd71nGH9xtrpg= Received: from spjoshi-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: spjoshi@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9F9226126F; Tue, 3 Jan 2017 23:41:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1483486900; bh=z+Sg0EaFvZ5SWMjad3hOokQMjBnEr+06RxfJIMhMDcQ=; h=From:To:Cc:Subject:Date:From; b=FjJ/gfe2VfG1NucWMo5l0vXA0lp6wxo+eITzus+1w2KN+nbQn1/mJk+3nSc8P9H0F SZJbMe91FzTnuCsImNxlGf14o0VGSBfRr59WxNRXYBcz7tpLmXaPQuPHVaQ1Ryez5j TtlE7qSHnQF0r1kW6ketyRdi5luTd71nGH9xtrpg= DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 9F9226126F Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=spjoshi@codeaurora.org From: Sarangdhar Joshi To: Ohad Ben-Cohen , Bjorn Andersson , Santosh Shilimkar Cc: Sarangdhar Joshi , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Stephen Boyd , Trilok Soni , Dave Gerlach , Suman Anna Subject: [PATCH v2] soc: ti: Drop wait from wkup_m3_rproc_boot_thread Date: Tue, 3 Jan 2017 15:41:29 -0800 Message-Id: <1483486889-3662-1-git-send-email-spjoshi@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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: Suman Anna CC: Bjorn Andersson Signed-off-by: Sarangdhar Joshi Tested-by: Suman Anna --- This patch seems to be doing an independent clean up now. Hence removing it from the series. 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);