dmaengine: hdmac: factorise memset descriptor allocation
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 22 Oct 2015 09:40:59 +0000 (11:40 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 29 Oct 2015 01:40:09 +0000 (10:40 +0900)
commitce2a673d66b2cab4b459981be1a28bbb6c071555
treefed6fe66f0a8b2d5379c7e587a1bc165472a6adc
parent0d49fee9c11ed1864f286d52eae2b73a7df0a7c8
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>
drivers/dma/at_hdmac.c
drivers/dma/at_hdmac_regs.h
This page took 0.024867 seconds and 5 git commands to generate.