* [01/12] dmaengine: at_hdmac: remove dma_slave_config direction usage
@ 2018-09-11 8:35 Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2018-09-11 8:35 UTC (permalink / raw)
To: dmaengine; +Cc: Vinod Koul, Ludovic Desroches
dma_slave_config direction was marked as deprecated quite some
time back, remove the usage from this driver so that the field
can be removed
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
CC: Ludovic Desroches <ludovic.desroches@microchip.com>
drivers/dma/at_hdmac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index 75f38d19fcbe..7cbac6e8c113 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -1320,7 +1320,7 @@ atc_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
if (unlikely(!is_slave_direction(direction)))
goto err_out;
- if (sconfig->direction == DMA_MEM_TO_DEV)
+ if (direction == DMA_MEM_TO_DEV)
reg_width = convert_buswidth(sconfig->dst_addr_width);
else
reg_width = convert_buswidth(sconfig->src_addr_width);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [01/12] dmaengine: at_hdmac: remove dma_slave_config direction usage
@ 2018-09-13 8:23 Ludovic Desroches
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Desroches @ 2018-09-13 8:23 UTC (permalink / raw)
To: Vinod Koul; +Cc: dmaengine
On Tue, Sep 11, 2018 at 02:05:25PM +0530, Vinod Koul wrote:
> dma_slave_config direction was marked as deprecated quite some
> time back, remove the usage from this driver so that the field
> can be removed
>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
> ---
> CC: Ludovic Desroches <ludovic.desroches@microchip.com>
>
> drivers/dma/at_hdmac.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
> index 75f38d19fcbe..7cbac6e8c113 100644
> --- a/drivers/dma/at_hdmac.c
> +++ b/drivers/dma/at_hdmac.c
> @@ -1320,7 +1320,7 @@ atc_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
> if (unlikely(!is_slave_direction(direction)))
> goto err_out;
>
> - if (sconfig->direction == DMA_MEM_TO_DEV)
> + if (direction == DMA_MEM_TO_DEV)
> reg_width = convert_buswidth(sconfig->dst_addr_width);
> else
> reg_width = convert_buswidth(sconfig->src_addr_width);
> --
> 2.14.4
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-13 8:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-11 8:35 [01/12] dmaengine: at_hdmac: remove dma_slave_config direction usage Vinod Koul
-- strict thread matches above, loose matches on Subject: below --
2018-09-13 8:23 Ludovic Desroches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox