From patchwork Fri Aug 17 20:19:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10569355 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2AA971575 for ; Fri, 17 Aug 2018 20:19:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EADC2BC48 for ; Fri, 17 Aug 2018 20:19:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12E292BC95; Fri, 17 Aug 2018 20:19:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFC742BC48 for ; Fri, 17 Aug 2018 20:19:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726289AbeHQXXw (ORCPT ); Fri, 17 Aug 2018 19:23:52 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:47083 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbeHQXXv (ORCPT ); Fri, 17 Aug 2018 19:23:51 -0400 Received: by mail-lj1-f196.google.com with SMTP id 203-v6so7264593ljj.13 for ; Fri, 17 Aug 2018 13:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FjJsyMlcJlgWWIu4GUmCCtwCT/QCZZTZnYesSGu/Lms=; b=cBuQ6Wl3DcwLghnOWJq1hdHZq9ylvPeyoY2QXc6OWg0VWFWOfvGQOxExJt8RaIeStV ejYiRd5+7feJvkQYUMG9kkfCLFZNrRwMKs8Z8MJ/r9NqWWJzuh+l6hBhtndM/VtpDkMu zZubE1OTZJxCMjkkVR8C9rwP9ERB1LS1Cq2AVbhsjP+Ga4W51WcGQcy9i5advj7J4RNT 5tMeBRU7JyHznARl7CQRfgys0nkeohbid0TahHIngy8WqDnQYHqN/lFE23e9pWACBL8g JCxIgnTGp2XYoYo8LGXsIiTkoKe0JjulNTNMS4DgPB7Rqt6j+kmZRpwz+YM38p8GfSf7 jdjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=FjJsyMlcJlgWWIu4GUmCCtwCT/QCZZTZnYesSGu/Lms=; b=a8WL5ah2RufzURjt1siRca7Fca3Liz1+LX/dc3slyxZuGueg7rd54l3FSPc7jMJQWq h8NgZHy42kTUvQcfjpIJp04i4626H7PMe+tHoINRzPrZKS0KglksJ+GzoQjvGybp32c8 L/eJDMSgeaGDnZqGWTiBUTsmgIHtVGNg/drfn442sBKlM2iF6MCF/gtO9natpKe3hcyQ fxInqE4OhvAvsk8o4sTvMOU74bKezPT+e+r6EHBI/Wh/FJNWnj6HpxCElmnULwsC8537 xvqxP7CHUF4vWm7PgM/JdA64vs7+hVsCb+z9edMtir/AEzJBK53WzyUTSqlfRflt0kOt aUUA== X-Gm-Message-State: AOUpUlFzy1pe1OTKcXCZK6PSL53jd+J6R0MWt7NsldV7BJ83cr8afiKM s8ptB7S9MZaQEeLVpbybaoljMA== X-Google-Smtp-Source: AA+uWPy0FYT6HiBR2Xl4fQFW3ruFhdembZj7eKoTLbYv6GmZuY6mPofDQDK7yjOR9V5GXNZGIw1BXg== X-Received: by 2002:a2e:9a16:: with SMTP id o22-v6mr26768057lji.17.1534537143855; Fri, 17 Aug 2018 13:19:03 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.84.250]) by smtp.gmail.com with ESMTPSA id w25-v6sm370300lfk.5.2018.08.17.13.19.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Aug 2018 13:19:02 -0700 (PDT) Subject: [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: fix typo in DM_CM_DTRAN_MODE.BUS_WIDTH field name From: Sergei Shtylyov To: Wolfram Sang , Ulf Hansson , linux-mmc@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org References: <0f984d54-77bc-44b2-4c4a-79a158bbc7e2@cogentembedded.com> Organization: Cogent Embedded Message-ID: Date: Fri, 17 Aug 2018 23:19:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <0f984d54-77bc-44b2-4c4a-79a158bbc7e2@cogentembedded.com> Content-Language: en-MW Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix a stray underscore in the DM_CM_DTRAN_MODE.BUS_WIDTH register field name. Signed-off-by: Sergei Shtylyov Reviewed-by: Wolfram Sang Reviewed-by: Simon Horman --- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: mmc/drivers/mmc/host/renesas_sdhi_internal_dmac.c =================================================================== --- mmc.orig/drivers/mmc/host/renesas_sdhi_internal_dmac.c +++ mmc/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 */ @@ -172,7 +172,7 @@ renesas_sdhi_internal_dmac_start_dma(str 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)))