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))) From patchwork Fri Aug 17 20:20:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10569359 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 CBEF81575 for ; Fri, 17 Aug 2018 20:20:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBC712BCA7 for ; Fri, 17 Aug 2018 20:20:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF8352BDA0; Fri, 17 Aug 2018 20:20:28 +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 5F4382BCA7 for ; Fri, 17 Aug 2018 20:20:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726311AbeHQXZO (ORCPT ); Fri, 17 Aug 2018 19:25:14 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:42154 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726214AbeHQXZN (ORCPT ); Fri, 17 Aug 2018 19:25:13 -0400 Received: by mail-lf1-f66.google.com with SMTP id z11-v6so4429805lff.9 for ; Fri, 17 Aug 2018 13:20:26 -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=OUxM/neTvcohiwyyQx50PfJ6UMh03bGucurOs26fxkc=; b=zQVsrbC/PKEe/qfrLVwUkJoyUVv/gPoRCAV7J0I8vNhxrSw8+rWXmC+fioKiH2uPlT l4peWcKHDQ95wf2O3/5hkdLJBpl6ZRxRsJekFlUeRvLH3TetMxcWdULBTuPyJW9SDs5O wRhedgqPLnZ/fv3QHCN7uNui3AucQXaP1bRMK5CCbyUaj4GNjx1IxR6ciRr6PMFra9r8 FRWX4EzHm27yQcj17t2fSCo8ZMeED0VvlmR/y32kuqsklfUntvuN+H4/Pb8GcN9Y5bY7 u0onZjm7P9Ng5ZfByL3Wr1zJdNtsMAi9Xwp4RDSO94dYSEkwqvsq94yNXiG2zJu6wEQz zJvw== 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=OUxM/neTvcohiwyyQx50PfJ6UMh03bGucurOs26fxkc=; b=WsxhOCZAngG9d/CH631VsQ/RlhdVlK3+9/dzI2iwk13rTmCW1ijR0fhZ9i6OtOE5t2 2RO7YXkT5B4Al4waptbIf1riwoRm+T5KX2K4vIFh1BxDqP8/vQq7xcihsQ9LdiKPxAdQ b8dZ8RmNUwy+mjTtd8Ctc16zWmA/wmB9VhRetiODygj7dEMtonaHnKWxmNKzYr29XBMd Iq9JMrfCqTtTNLJ2uJzZpMJNDgCnZ28D/ajCirJFXOXntKd0Cu3LHmaaT+mTJLyHdXcc ZySYx39rfk/xu54Qm6macPCh1Vbhd2Qmwdn66dldHMPe+Rad/uzb6NZ/6F/aqU1/Ujjq SIqA== X-Gm-Message-State: AOUpUlG9dgvK/GXy5h8X2P984C0frUps52Uc2kbFBfiJrUKTDMNP+pLd s2cWGiBL1aqS6lcCbAx2D3mRahkalqM= X-Google-Smtp-Source: AA+uWPxUb3dQ9LvPY9oHtHLzWS5WOU8lJrY/YrO3lf2ruM88eC4eQTWiTMCyGnhWIOfYuEjfHgF3dQ== X-Received: by 2002:a19:2783:: with SMTP id n125-v6mr2010362lfn.6.1534537225441; Fri, 17 Aug 2018 13:20:25 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.84.250]) by smtp.gmail.com with ESMTPSA id a139-v6sm524735lfa.93.2018.08.17.13.20.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Aug 2018 13:20:24 -0700 (PDT) Subject: [PATCH 2/2] mmc: renesas_sdhi_internal_dmac: fix comment typo 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:20:23 +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 the typo in the comment to #define DTRAN_MODE_CH_NUM_CH1. Signed-off-by: Sergei Shtylyov Reviewed-by: Wolfram Sang Reviewed-by: Simon Horman --- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ -35,7 +35,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_CH_NUM_CH1 BIT(16) /* "upstream" = for read commands */ #define DTRAN_MODE_BUS_WIDTH (BIT(5) | BIT(4)) #define DTRAN_MODE_ADDR_MODE BIT(0) /* 1 = Increment address */