Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp923483pxx; Thu, 29 Oct 2020 18:54:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwg2BE6brOLM1KoeUkJpcqlGkZFGOOhh913R89NkL/Oqpe40R6h3Br9TcqlQd2pXwuewE1W X-Received: by 2002:a50:bb25:: with SMTP id y34mr4849719ede.249.1604022852143; Thu, 29 Oct 2020 18:54:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604022852; cv=none; d=google.com; s=arc-20160816; b=ZIbJBbFtbHN4iSkfmi1tHFYePTfutzUJkLOhsw+KddyUxGbp66AkKnCMskTnZiNU2K lLkHIljqe3dJpm6mLK3rX31fL0svQ0MG1FK0sv3Z2sBrdHH/1QO1TLX9L94T5mA/Vun1 cwAPQEq22iY38KCuxXSaYZYvo7A8SpQS7XO0nI4MROjh7ChDI7dzPSYLRSMPt1Fx3IGj GQAXvpNQS8oUVZrFdGYNruTrXw6yvUpFeEayp6XOv8vqlUlRgL/eNj6Rt62dmOSBCoYf yBrNmKhZlS+BxMzY0GA1TLm+sdYakiVjswnqdPEUVwCpfQwfBU1kYgjwRJx0S7mCmzdc H2AA== 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=YBR8k10XP03W1mZMfrpmZynT4HiGrV5YM85HFgwl7XUFelrIJRGdGwBaamHTj6fawv /lwjU2nsulWSgfcPGDxzgcAy/GvGHSbl/IZY+qfS23E8Tp4YZ+4YXAY+dmWufCPLxS9o dYX5E9HkKDDstUb5pg4C3R49Kj6LM6WBteEBfYod6LFn/ncfA/85nazgOXwWkflRGccD bV8Ec58/ucb3srO38OLKahgFBMUfrObVOc1BYxE7gzNIBxGoxoKSysp/ntbJTIL55rpO fg+yySa8U0RKggZBnJRiTYs46FyAMIMbXF7ckSPVG5OF3XMQF1gmaH7LCze0FedKwD9V JQRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="NC4nS+6/"; 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 t21si3398809edv.46.2020.10.29.18.53.50; Thu, 29 Oct 2020 18:54:12 -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="NC4nS+6/"; 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 S1726366AbgJ3BwU (ORCPT + 99 others); Thu, 29 Oct 2020 21:52:20 -0400 Received: from m42-4.mailgun.net ([69.72.42.4]:15865 "EHLO m42-4.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726314AbgJ3BwQ (ORCPT ); Thu, 29 Oct 2020 21:52:16 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1604022735; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=Jyvek/c6lIid48UaEZHpOQPl/gpSLmzHNt+y9QNDwCs=; b=NC4nS+6/UfaEazV/S6rg2OUj06FGGnkpESqoajtJvmdW1K/ZZGT+8zjasQF5fqJfazvCl8hI Sgu7BUKKXIgF8V0Q+tK7YwsN0QrimUgB+Bq4NPlsYKg2Z9EFa3xwY8aBwleBXvMOehecIDwX X5UcVZVD6kggKlikrIN+FB3zWpY= 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-n03.prod.us-east-1.postgun.com with SMTP id 5f9b71cfd292ba49082b21e8 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 30 Oct 2020 01:52:15 GMT Sender: bbhatt=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8373CC433CB; Fri, 30 Oct 2020 01:52:14 +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 E2DC2C433C9; Fri, 30 Oct 2020 01:52:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E2DC2C433C9 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 v2 07/12] bus: mhi: core: Use appropriate label in firmware load handler API Date: Thu, 29 Oct 2020 18:51:58 -0700 Message-Id: <1604022723-34578-8-git-send-email-bbhatt@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1604022723-34578-1-git-send-email-bbhatt@codeaurora.org> References: <1604022723-34578-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