Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1427007ybg; Tue, 2 Jun 2020 09:36:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjFGVrik+/NE9u9FhETwuAnUqTHeDxtgPY4BYxd8NrNxiI4OJkgSHVv4Bc0a6M/ApOunSL X-Received: by 2002:a17:906:1d56:: with SMTP id o22mr18324986ejh.406.1591115797126; Tue, 02 Jun 2020 09:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591115797; cv=none; d=google.com; s=arc-20160816; b=JfegjzYNvXb69im9Gr2oA9qTyAYidelEARNsP1Y6AXHPAi7EiNj0Ae7YcY9ZOUNEY+ MQ0vi2vNxORMWshhVv2EZYNHoEY5x8AQ5//BNh8JvxMhTeOCt4E6w7BqQTSVr3g+YGh/ 04NxKJtmu4mERZaT2oLxmN0vc6DPcnF4jIe3uhP0CCbF24Fsn0WNi4n5Co/KceRzfTeg 4ZAw377WspwohXjmvm/bwgA4vSBuzCqpIXbaoquXob73Shf+ZTYGnkoLCoblLupPdDQv ADbiYYUDlymYHDXJAinxXPAzBu5BREjCDnM6mm8JZ+vnCx1wpg5eHLyusPeNbu32izPP HIHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature; bh=0Wg0j3MT/PP/B4nsIIgBp6QzDb8kDeHUDCr/A+ztDKA=; b=i5NsBCS166v5KOaseT2bU3UN1ENawiXV4lXlAiwQKlfdn9r2diAqz35xoWbmp1z0rL eZib6UBW0v8irto38VBH4Nq+7jM6p5EG+qssx+nOZt6DuqwmRy9IVdMFkxfyUI444+0Z vpolHRyCQFywJGrBRbLlNWhzL+1dlmH8E2jTvMcQlqQJREf7JWhrcOplvJtdLlu1vqt8 g5IcDOMxQ8Rm+G7ItN5Ugpb1mocln5+QZVQWlkreb3l0ODnHAzuiT+F9mmFTDNFSaaHB /qXBk6uHe3MWsxNJlw/laO+4gW1PlL0HPn5bgJW9Y68B3ZIAN3TNBnUMREH18ZDaTiD0 ShyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="B0Uz/MpR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k14si1707580ejz.68.2020.06.02.09.36.12; Tue, 02 Jun 2020 09:36:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="B0Uz/MpR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728059AbgFBQdq (ORCPT + 99 others); Tue, 2 Jun 2020 12:33:46 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:55276 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726485AbgFBQdp (ORCPT ); Tue, 2 Jun 2020 12:33:45 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1591115624; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=0Wg0j3MT/PP/B4nsIIgBp6QzDb8kDeHUDCr/A+ztDKA=; b=B0Uz/MpRkHwbKMUwz8/9Jla1M2IVhwec+wm3y09zKhNafWbKybyClwmwrmyugeirM77oGIVb Gr6YO+dHXr8dOEr0Bf0GrHiFhxm/tto9p8sN5usg3ejiQAJwniXfQ5l2fEZgE9g5rZGAuvL7 7pu4MfhVRuLJH1ghOcX6rq+JnUg= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n10.prod.us-west-2.postgun.com with SMTP id 5ed67f5009c3530d12e50572 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 02 Jun 2020 16:33:20 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id EA83AC433CA; Tue, 2 Jun 2020 16:33:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from blr-ubuntu-253.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7A7C4C43395; Tue, 2 Jun 2020 16:33:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7A7C4C43395 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org Cc: agross@kernel.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, evgreen@chromium.org, ohad@wizery.com, rohitkr@codeaurora.org, Sibi Sankar Subject: [PATCH 2/2] remoteproc: qcom_q6v5_mss: Remove redundant running state Date: Tue, 2 Jun 2020 22:02:57 +0530 Message-Id: <20200602163257.26978-2-sibis@codeaurora.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200602163257.26978-1-sibis@codeaurora.org> References: <20200602163257.26978-1-sibis@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the redundant running state, as an equivalent is maintained in the common q6v5 resource handling helpers. Signed-off-by: Sibi Sankar --- drivers/remoteproc/qcom_q6v5_mss.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index feb70283b6a21..702352cd66188 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -178,8 +178,6 @@ struct q6v5 { int active_reg_count; int proxy_reg_count; - bool running; - bool dump_mba_loaded; unsigned long dump_segment_mask; unsigned long dump_complete_mask; @@ -1275,7 +1273,6 @@ static int q6v5_start(struct rproc *rproc) /* Reset Dump Segment Mask */ qproc->dump_segment_mask = 0; - qproc->running = true; return 0; @@ -1290,8 +1287,6 @@ static int q6v5_stop(struct rproc *rproc) struct q6v5 *qproc = (struct q6v5 *)rproc->priv; int ret; - qproc->running = false; - ret = qcom_q6v5_request_stop(&qproc->q6v5); if (ret == -ETIMEDOUT) dev_err(qproc->dev, "timed out on wait\n"); -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project