dmaengine: hdmac: Add scatter-gathered memset support
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 22 Oct 2015 09:41:00 +0000 (11:41 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 29 Oct 2015 01:41:16 +0000 (10:41 +0900)
commit67d25f0d4e24775418aae403610cae99e27cdc3c
tree41aa45a73436dfc2b5fdb78d636672ff29605396
parentce2a673d66b2cab4b459981be1a28bbb6c071555
dmaengine: hdmac: Add scatter-gathered memset support

Just like memset support, the HDMAC might be used to do a memset over a
discontiguous memory area.

In such a case, we'll just build up a chain of memset descriptors over the
contiguous chunks of memory to set, in order to allow such a support.

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>
drivers/dma/at_hdmac.c