Fix some typos in Renesas R-Car gen3 SDHI driver
Subsystems (2)
cover Fix some typos in Renesas R-Car gen3 SDHI driver
Hello!
Here's a set of 2 patches against the 'next' branch of Ulf Hannsson's 'mmc.git' repo. They fix some typos I noticed...
[1/2] mmc: renesas_sdhi_internal_dmac: fix typo in DM_CM_DTRAN_MODE.BUS_WIDTH field name [2/2] mmc: renesas_sdhi_internal_dmac: fix comment typo
MBR. Sergei
PATCH 1/2 mmc: renesas_sdhi_internal_dmac: fix typo in DM_CM_DTRAN_MODE.BUS_WIDTH field name
Fix a stray underscore in the DM_CM_DTRAN_MODE.BUS_WIDTH register field name.
--- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/host/renesas_sdhi_internal_dmac.c +2 -2
@@ -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)))
Re: [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: fix typo in DM_CM_DTRAN_MODE.BUS_WIDTH field name
Quoted 4 lines · Sergei Shtylyov
Fix a stray underscore in the DM_CM_DTRAN_MODE.BUS_WIDTH register field name.
Signed-off-by Sergei Shtylyov <[email protected]>
Yes, I noticed this, too recently
Re: [PATCH 1/2] mmc: renesas_sdhi_internal_dmac: fix typo in DM_CM_DTRAN_MODE.BUS_WIDTH field name
In reply to Sergei ShtylyovQuoted 4 lines · Sergei Shtylyov
Fix a stray underscore in the DM_CM_DTRAN_MODE.BUS_WIDTH register field name.
Signed-off-by Sergei Shtylyov <[email protected]>
PATCH 2/2 mmc: renesas_sdhi_internal_dmac: fix comment typo
In reply to Sergei ShtylyovFix the typo in the comment to #define DTRAN_MODE_CH_NUM_CH1.
--- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/renesas_sdhi_internal_dmac.c +1 -1
@@ -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 */
Re: [PATCH 2/2] mmc: renesas_sdhi_internal_dmac: fix comment typo
Quoted 3 lines · Sergei Shtylyov
Fix the typo in the comment to #define
DTRAN_MODE_CH_NUM_CH1.Signed-off-by Sergei Shtylyov <[email protected]>
...but I really think those two patches should be squashed. One patch per typo is too fine grained IMO.
Re: [PATCH 2/2] mmc: renesas_sdhi_internal_dmac: fix comment typo
In reply to Sergei ShtylyovQuoted 3 lines · Sergei Shtylyov
Fix the typo in the comment to #define
DTRAN_MODE_CH_NUM_CH1.Signed-off-by Sergei Shtylyov <[email protected]>
Quoted 9 lines · Sergei Shtylyov
Hello!
Here's a set of 2 patches against the 'next' branch of Ulf Hannsson's 'mmc.git' repo. They fix some typos I noticed...
[1/2] mmc:
renesas_sdhi_internal_dmac: fix typo in DM_CM_DTRAN_MODE.BUS_WIDTH field name [2/2] mmc:renesas_sdhi_internal_dmac: fix comment typoMBR. Sergei
Thanks, squashed and queued for v4.20!
Kind regards
Uffe