From patchwork Wed Oct 3 11:39:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 148051 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp6353225lji; Wed, 3 Oct 2018 04:40:54 -0700 (PDT) X-Google-Smtp-Source: ACcGV60SJ4F1gxWc/ZYZuZC5LxtoSthKEDA9eH/LV2jTAA31hcjzk+PTet11ZaX9kjOzNEgaimLH X-Received: by 2002:a65:588e:: with SMTP id d14-v6mr1007197pgu.117.1538566854030; Wed, 03 Oct 2018 04:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538566854; cv=none; d=google.com; s=arc-20160816; b=ArtpgbnWNWZXP2rPFISnAGXn5pZiEMZBrfhD7r78Hb1pIc7SdVI8/Qiq1oPzw/hZLe 7X+4WkdW0kjVrJo8QA5jNUWgdVIFqcDwasVcxC8P2WXA/CytSyBcXuNbkWmVEQi1GanL dGwCEpc3Rw2hENhg6W4nZ/LbnNELILWcfRLnNHhlofsf1O9gLa+HdJDWl4QCrM3HhL/T etlmLItP56awaOrlpS+06GrkNNieE/lGA8QGATvdg0A9jrBzrtzbT6kF9CYPCmoYUM83 7nHIzx1yTu0H3+n6+xF2HLSCyTMOv7xkM8lloqqfwcRpemLCL9TggweZ5wgYalxeT7eT Cl9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=/uyZP965orBXsSUVlNYy8IRDProLWoRPb2cckclyGKI=; b=ure8onqyX5jPBcJdpn+fDrORRTBQ739GYU0JJuxCZbtP583Di3RxllPypCrVfhcBGn y/gQKBhuIBNIKer2ZItKL/a030F9+HL2Uo34in6g4sHLna0QaFcOQi0GDnauehpFBlJd Ysq6kVSzahqJvlTF2Es4XcAnqgqdIzHjpkBDwtNLszvBd8Tvbygf3ZZBm3uRdauzkvko jiwnBzbD6jliJ2I6O3Xx0jLtBF6BC0NhJtG0QBSAusiqaW05zYaA0wPTl5jbGPjmljc6 ASMm7jT4ImUIxh8MxsJz2N85NMSLgxoTBi32LU4FsRn7BSCo+cd6MFMXFtmtmH4pUSqx 0EhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=nPz6UzxZ; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x12-v6si1257716pgg.118.2018.10.03.04.40.53; Wed, 03 Oct 2018 04:40:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=nPz6UzxZ; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726751AbeJCS2y (ORCPT + 5 others); Wed, 3 Oct 2018 14:28:54 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:43894 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbeJCS2y (ORCPT ); Wed, 3 Oct 2018 14:28:54 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w93BdwO1030338; Wed, 3 Oct 2018 20:39:59 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w93BdwO1030338 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1538566799; bh=/uyZP965orBXsSUVlNYy8IRDProLWoRPb2cckclyGKI=; h=From:To:Cc:Subject:Date:From; b=nPz6UzxZa94yVNkA6ceSKEjBxquqIiKR/G7dHAtWwxqRouwmN/q3Bg+XIq9TYPW8r 03iOsXT9z+JRFfzLrmPW2xIjRdUy00lvnC427Cm0dc6w+OEZdnQ1nwy+rwgN+b41LW k/cGIoUqqWMKQQ6lxoWPldTWjdVQZLEn77xspzu5MZVAMjAjZNprFrx0Rq+XyJpVZ5 Hih+XFoQq154FLDC9fCl7ZjiacgklGzVMYMqUdcDg8aq/eqijd1Sjbd6TtDM2xNDGS Xp5Tfr7iaL2ApauX5TWPuJohewoTFtUkNlU6W1spY4x20szzH7YuphcC8yNWgbW1o+ 0g1Zb6Zq4ZDrg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Wolfram Sang , linux-mmc@vger.kernel.org Cc: Ulf Hansson , linux-renesas-soc@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] mmc: renesas_sdhi: rename DTRAN_MODE_BUS_WID_TH to DTRAN_MODE_BUS_WIDTH Date: Wed, 3 Oct 2018 20:39:40 +0900 Message-Id: <1538566780-30794-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Socionext UniPhier SoCs use the almost the same internal DMAC. My datasheet says 'BUS_WIDTH' instead of 'BUS_WID_TH'. I suspect this is a typo. Signed-off-by: Masahiro Yamada --- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c index ca0b439..8d04eea 100644 --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c @@ -36,7 +36,7 @@ /* DM_CM_DTRAN_MODE */ #define DTRAN_MODE_CH_NUM_CH0 0 /* "downstream" = for write commands */ #define DTRAN_MODE_CH_NUM_CH1 BIT(16) /* "uptream" = for read commands */ -#define DTRAN_MODE_BUS_WID_TH (BIT(5) | BIT(4)) +#define DTRAN_MODE_BUS_WIDTH (BIT(5) | BIT(4)) #define DTRAN_MODE_ADDR_MODE BIT(0) /* 1 = Increment address */ /* DM_CM_DTRAN_CTRL */ @@ -174,7 +174,7 @@ renesas_sdhi_internal_dmac_start_dma(struct tmio_mmc_host *host, struct mmc_data *data) { struct scatterlist *sg = host->sg_ptr; - u32 dtran_mode = DTRAN_MODE_BUS_WID_TH | DTRAN_MODE_ADDR_MODE; + u32 dtran_mode = DTRAN_MODE_BUS_WIDTH | DTRAN_MODE_ADDR_MODE; if (!dma_map_sg(&host->pdev->dev, sg, host->sg_len, mmc_get_dma_dir(data)))