Message ID | f93ace85-6e2a-fec0-b73c-9101bdde60eb@cogentembedded.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Fix some typos in Renesas R-Car gen3 SDHI driver | expand |
On Fri, Aug 17, 2018 at 11:19:02PM +0300, Sergei Shtylyov wrote: > Fix a stray underscore in the DM_CM_DTRAN_MODE.BUS_WIDTH register field > name. > > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Yes, I noticed this, too recently Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
On Fri, Aug 17, 2018 at 11:19:02PM +0300, Sergei Shtylyov wrote: > Fix a stray underscore in the DM_CM_DTRAN_MODE.BUS_WIDTH register field > name. > > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
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)))
Fix a stray underscore in the DM_CM_DTRAN_MODE.BUS_WIDTH register field name. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> --- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)