Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1446908pxb; Fri, 6 Nov 2020 09:49:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzP2KgVUwC26wWnyn+KjMPWxAhoBZr3ZrpxVk3EVuzl2wEUlgRLm1yy5DiDSjO80+VG9f1V X-Received: by 2002:a17:906:2f87:: with SMTP id w7mr3299662eji.83.1604684953460; Fri, 06 Nov 2020 09:49:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604684953; cv=none; d=google.com; s=arc-20160816; b=gmQcX871yogkx0HSMVCwyrgCmlpL+FYl5Kzp9nTXpkabEhxEZkkmelR42FZG1FFxmr prCv3iBxL7r2UuLgfuXwUqHXdUlhpdESWBm2FP93SXRN1tNXA6Q69ZafQhHjo2lP95Iy 90Mbm9ghcVAd+SXmn32aturIl3H8aJo3DRjsGcc1RGuQupTqkx5LoOH/y+N+9KW0WRNo po0sw//2pmyjwy1//Klm2jhOoSjUSvVYWluokeOCjwgZL6zRJmfTVh/vrIJRGnkAvjF8 QPcd3TY8FbMMNun/Sp8Irko5Zg5BZq5mrLkv4ChUd+/uu4KqZ0TcCS9XxLnfNMOHfR7/ mx+w== 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=aFKGaQUwOwpda6eHMcniPoyNxkp9HoN4YaCsponacJs=; b=pxaPxvrZPl+S8F9YGzd+Mmv8wqhlwLwmP0HZTBuSFc9aE/Cr7rlIpozLxGHp50u+7D JFeQCfO8bzRBi8tbRnPTPdoOjFc1hmlu8u+FN6XPJ9sSrfFL0kuIljEw+2lKR0dTwU6l QIuS8RDk+c8EqM1XW14heBCvA6mQVu0hcaVHvrDhhJwherMwkkQo3fkawil2exkSz8vb WGxsn/xyVXEEL2vSkjqm4irCyLfvvR5CMNhn4T3sFRgwnUSCHV/4DpC61Y/cfvkGU8xa Cxv8ylM5AOrj7EEo+9eplwX/YkBw1BuoPydKhxg31CbrihA+mp30vjyFlJWKQQC9Y7Gl Knpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="v/weU1A7"; 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 r7si1350292ejb.27.2020.11.06.09.48.50; Fri, 06 Nov 2020 09:49:13 -0800 (PST) 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="v/weU1A7"; 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 S1727872AbgKFRpL (ORCPT + 99 others); Fri, 6 Nov 2020 12:45:11 -0500 Received: from m42-4.mailgun.net ([69.72.42.4]:18993 "EHLO m42-4.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727856AbgKFRpK (ORCPT ); Fri, 6 Nov 2020 12:45:10 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1604684709; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=aFKGaQUwOwpda6eHMcniPoyNxkp9HoN4YaCsponacJs=; b=v/weU1A7pvdNzosw+IlZtANN0ODsvAWUPKO7xF1KZh+47tsx8WlkwBNRVEC82jBocJawS0ee doaNiRbesJBZWaML72QdVw926A+M+xEmoWXIrgnetvSEdWOUjxoIbaU0jVM2ioyrD1+bCD79 VnT0XBFEEuhAXOoomaHBKzmxopo= 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-n02.prod.us-west-2.postgun.com with SMTP id 5fa58b9c18b2aa4b1fb8e9bc (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 06 Nov 2020 17:45:00 GMT Sender: bbhatt=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 9217CC433C6; Fri, 6 Nov 2020 17:45:00 +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 C92A3C43391; Fri, 6 Nov 2020 17:44:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C92A3C43391 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 5/6] bus: mhi: core: Rename RDDM download function to use proper words Date: Fri, 6 Nov 2020 09:44:49 -0800 Message-Id: <1604684690-31065-6-git-send-email-bbhatt@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1604684690-31065-1-git-send-email-bbhatt@codeaurora.org> References: <1604684690-31065-1-git-send-email-bbhatt@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mhi_download_rddm_img() uses a shorter version of the word image. Expand it and rename the function to mhi_download_rddm_image(). Signed-off-by: Bhaumik Bhatt Reviewed-by: Manivannan Sadhasivam --- drivers/bus/mhi/core/boot.c | 4 ++-- include/linux/mhi.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/bus/mhi/core/boot.c b/drivers/bus/mhi/core/boot.c index 6b6fd96..16244cc 100644 --- a/drivers/bus/mhi/core/boot.c +++ b/drivers/bus/mhi/core/boot.c @@ -147,7 +147,7 @@ static int __mhi_download_rddm_in_panic(struct mhi_controller *mhi_cntrl) } /* Download RDDM image from device */ -int mhi_download_rddm_img(struct mhi_controller *mhi_cntrl, bool in_panic) +int mhi_download_rddm_image(struct mhi_controller *mhi_cntrl, bool in_panic) { void __iomem *base = mhi_cntrl->bhie; struct device *dev = &mhi_cntrl->mhi_dev->dev; @@ -169,7 +169,7 @@ int mhi_download_rddm_img(struct mhi_controller *mhi_cntrl, bool in_panic) return (rx_status == BHIE_RXVECSTATUS_STATUS_XFER_COMPL) ? 0 : -EIO; } -EXPORT_SYMBOL_GPL(mhi_download_rddm_img); +EXPORT_SYMBOL_GPL(mhi_download_rddm_image); static int mhi_fw_load_amss(struct mhi_controller *mhi_cntrl, const struct mhi_buf *mhi_buf) diff --git a/include/linux/mhi.h b/include/linux/mhi.h index 9225d55..52b3c60 100644 --- a/include/linux/mhi.h +++ b/include/linux/mhi.h @@ -645,12 +645,12 @@ int mhi_pm_suspend(struct mhi_controller *mhi_cntrl); int mhi_pm_resume(struct mhi_controller *mhi_cntrl); /** - * mhi_download_rddm_img - Download ramdump image from device for - * debugging purpose. + * mhi_download_rddm_image - Download ramdump image from device for + * debugging purpose. * @mhi_cntrl: MHI controller * @in_panic: Download rddm image during kernel panic */ -int mhi_download_rddm_img(struct mhi_controller *mhi_cntrl, bool in_panic); +int mhi_download_rddm_image(struct mhi_controller *mhi_cntrl, bool in_panic); /** * mhi_force_rddm_mode - Force device into rddm mode -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project