diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-22 12:40:59 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-10-29 04:40:09 +0300 |
commit | ce2a673d66b2cab4b459981be1a28bbb6c071555 (patch) | |
tree | fed6fe66f0a8b2d5379c7e587a1bc165472a6adc /drivers/dma/at_hdmac_regs.h | |
parent | 0d49fee9c11ed1864f286d52eae2b73a7df0a7c8 (diff) |
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; }; |