Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp981546pxx; Thu, 29 Oct 2020 21:13:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7N8VIrXNI+wRdGx3rOO3mLK/PivdZY1Ht4LoLmszYFOkmUbHk5l20siagV2EmjBomEEPi X-Received: by 2002:a17:906:c7d9:: with SMTP id dc25mr603808ejb.482.1604031193631; Thu, 29 Oct 2020 21:13:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604031193; cv=none; d=google.com; s=arc-20160816; b=yPYywgpkSkDiEiBKPMOsMxuN1SuVd3GttJqnBdgsY2gFa6135NOv5ckalKtG7SKf0J EAhgnE8S7nRbsYJLmsmqOhjQ/4Sh4KcjLcxgAOpB/+4nthpEZKOQGxwUcbl2pDk+CCWV WTJpIgSyZ+HjNE7FaFoK0d6v7wpVzIV/X3loGDuRwH7n0mlFy8p2Gpnq1x4aHJ9oj4dd juPRYrotZhLdsfcUyIh8D/bPQc0gNql7k3/F+SOns+5mbdmi0OuKMlwqHJNntuBt90HN +yeBqYelCZ1cbD29b/q0XuVh58kdncA9M65elRYbJrcRuotekzIcbAf8i6F/7i5jAweA UacQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=Jyvek/c6lIid48UaEZHpOQPl/gpSLmzHNt+y9QNDwCs=; b=OJ/k0jfLYwcQrDXMkfZbIYSKn41+BwSakNKjauB/+GFJWn0PDLdBj9AJHsG3bDkehd u1OiT50pclMx1fANq1h2rXox9urlPHRV8UHJiY4Kx+ApD7TzOn1VI5Bvd7+3pE5R4YBo +5L2k3Ng6ltsxjry4JQq1jwR2JvBtL7MEbsR211Ixzqq/a5vS/ucFoSEAHYQp27AteZx 5D/8u2kfdzxDBBlsyRJlke7jJjHSx0I/8C3u9aG8kueZpcssieyK9t67Q0yLcEyJ/ck0 XW5S7fcPvzFhQxZLsoC4L7mNHlL0bzaMuKw8KsCMTrw5EW+rG3lmp1LOagEwLfbDGGp4 ji4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=q27vmH+G; 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 x14si2866572ejs.714.2020.10.29.21.12.51; Thu, 29 Oct 2020 21:13:13 -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=pass header.i=@mg.codeaurora.org header.s=smtp header.b=q27vmH+G; 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 S1726543AbgJ3ELU (ORCPT + 99 others); Fri, 30 Oct 2020 00:11:20 -0400 Received: from m42-4.mailgun.net ([69.72.42.4]:58474 "EHLO m42-4.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbgJ3ELR (ORCPT ); Fri, 30 Oct 2020 00:11:17 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1604031077; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=Jyvek/c6lIid48UaEZHpOQPl/gpSLmzHNt+y9QNDwCs=; b=q27vmH+GTbQ2qKvvgBFOIiwWvPdH9fdTcPz3Lxuuof2b68LAMdtd/dvxpaHdg4W4TaMKuDWY MIOILmZ0S5ulhhqCW7tgDuknu2SXYryC/SbxjTsgfpB7f1KqOrN+LlYh76RrhlZ84ncK7aF0 AeiBrocKNEyVBszlB9n4ErWYmyA= X-Mailgun-Sending-Ip: 69.72.42.4 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-n01.prod.us-east-1.postgun.com with SMTP id 5f9b925d139577aa005167c4 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 30 Oct 2020 04:11:09 GMT Sender: bbhatt=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 0B25BC433FE; Fri, 30 Oct 2020 04:11:09 +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=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from malabar-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: bbhatt) by smtp.codeaurora.org (Postfix) with ESMTPSA id 13765C43382; Fri, 30 Oct 2020 04:11:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 13765C43382 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=fail smtp.mailfrom=bbhatt@codeaurora.org From: Bhaumik Bhatt To: manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, hemantk@codeaurora.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, Bhaumik Bhatt Subject: [PATCH v3 07/12] bus: mhi: core: Use appropriate label in firmware load handler API Date: Thu, 29 Oct 2020 21:10:52 -0700 Message-Id: <1604031057-32820-8-git-send-email-bbhatt@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1604031057-32820-1-git-send-email-bbhatt@codeaurora.org> References: <1604031057-32820-1-git-send-email-bbhatt@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Correct the "error_read" label to say "error_ready_state" as that is the appropriate usage of the label. Signed-off-by: Bhaumik Bhatt --- drivers/bus/mhi/core/boot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/bus/mhi/core/boot.c b/drivers/bus/mhi/core/boot.c index cec5010..6b4c51e 100644 --- a/drivers/bus/mhi/core/boot.c +++ b/drivers/bus/mhi/core/boot.c @@ -494,7 +494,7 @@ void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) if (ret) { dev_err(dev, "MHI did not enter READY state\n"); - goto error_read; + goto error_ready_state; } /* Wait for the SBL event */ @@ -505,7 +505,7 @@ void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) if (!ret || MHI_PM_IN_ERROR_STATE(mhi_cntrl->pm_state)) { dev_err(dev, "MHI did not enter SBL\n"); - goto error_read; + goto error_ready_state; } /* Start full firmware image download */ @@ -521,7 +521,7 @@ void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) return; -error_read: +error_ready_state: mhi_free_bhie_table(mhi_cntrl, mhi_cntrl->fbc_image); mhi_cntrl->fbc_image = NULL; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project