diff mbox

[1/2] dmaengine: at_xdmac: correct destination abbreviation

Message ID 1415888096-22090-2-git-send-email-ludovic.desroches@atmel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ludovic Desroches Nov. 13, 2014, 2:14 p.m. UTC
TODO

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
---
 drivers/dma/at_xdmac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ludovic Desroches Nov. 13, 2014, 2:25 p.m. UTC | #1
On Thu, Nov 13, 2014 at 03:14:55PM +0100, Ludovic Desroches wrote:
> TODO

No commit message since it will be merge into Maxime's patch :p

> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
> ---
>  drivers/dma/at_xdmac.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c
> index b60d77a..ff67466 100644
> --- a/drivers/dma/at_xdmac.c
> +++ b/drivers/dma/at_xdmac.c
> @@ -1229,7 +1229,7 @@ static int at_xdmac_device_slave_caps(struct dma_chan *dchan,
>  {
>  
>  	caps->src_addr_widths = AT_XDMAC_DMA_BUSWIDTHS;
> -	caps->dstn_addr_widths = AT_XDMAC_DMA_BUSWIDTHS;
> +	caps->dst_addr_widths = AT_XDMAC_DMA_BUSWIDTHS;
>  	caps->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV);
>  	caps->cmd_pause = true;
>  	caps->cmd_terminate = true;
> -- 
> 2.0.3
>
Maxime Ripard Nov. 13, 2014, 2:30 p.m. UTC | #2
On Thu, Nov 13, 2014 at 03:14:55PM +0100, Ludovic Desroches wrote:
> TODO
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>

Folded in the relevant patch, thanks!

Maxime
diff mbox

Patch

diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c
index b60d77a..ff67466 100644
--- a/drivers/dma/at_xdmac.c
+++ b/drivers/dma/at_xdmac.c
@@ -1229,7 +1229,7 @@  static int at_xdmac_device_slave_caps(struct dma_chan *dchan,
 {
 
 	caps->src_addr_widths = AT_XDMAC_DMA_BUSWIDTHS;
-	caps->dstn_addr_widths = AT_XDMAC_DMA_BUSWIDTHS;
+	caps->dst_addr_widths = AT_XDMAC_DMA_BUSWIDTHS;
 	caps->directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV);
 	caps->cmd_pause = true;
 	caps->cmd_terminate = true;