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: 9495925 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 4B0C060405 for ; Tue, 3 Jan 2017 23:43:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35BBC1FE7A for ; Tue, 3 Jan 2017 23:43:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29F46271E0; Tue, 3 Jan 2017 23:43:27 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2CA6D1FE7A for ; Tue, 3 Jan 2017 23:43:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cOYiT-0005d4-Cq; Tue, 03 Jan 2017 23:42:05 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cOYiP-0005aG-LP for linux-arm-kernel@lists.infradead.org; Tue, 03 Jan 2017 23:42:02 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C51AB612EE; 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170103_154201_763052_F87E2DE8 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Trilok Soni , linux-arm-msm@vger.kernel.org, Dave Gerlach , Stephen Boyd , linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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);