diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-22 11:40:59 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-10-29 02:40:09 +0100 |
commit | ce2a673d66b2cab4b459981be1a28bbb6c071555 (patch) | |
tree | fed6fe66f0a8b2d5379c7e587a1bc165472a6adc /drivers/dma/at_hdmac_regs.h | |
parent | Merge branch 'topic/dw' into for-linus (diff) | |
download | linux-ce2a673d66b2cab4b459981be1a28bbb6c071555.tar.xz linux-ce2a673d66b2cab4b459981be1a28bbb6c071555.zip |
dmaengine: hdmac: factorise memset descriptor allocation
The memset and scatter gathered memset are going to use some common logic
to create their descriptors.
Move that logic into a function of its own so that we can share it with the
future memset_sg callback.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/at_hdmac_regs.h')
-rw-r--r-- | drivers/dma/at_hdmac_regs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/at_hdmac_regs.h b/drivers/dma/at_hdmac_regs.h index c3bebbe899ac..d1cfc8c876f9 100644 --- a/drivers/dma/at_hdmac_regs.h +++ b/drivers/dma/at_hdmac_regs.h @@ -202,7 +202,7 @@ struct at_desc { size_t src_hole; /* Memset temporary buffer */ - bool memset; + bool memset_buffer; dma_addr_t memset_paddr; int *memset_vaddr; }; |