dmaengine: sun6i: Simplify lli setting
authorJean-Francois Moine <moinejf@free.fr>
Fri, 22 Apr 2016 06:47:29 +0000 (08:47 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 26 Apr 2016 03:49:18 +0000 (09:19 +0530)
commit52c871798ff84b6bfb095c3d3cc69af517f72396
tree5573961d2c885eab7ab18aeb5321b8736847ad49
parentdc6a58c17cd443bfdd2e05c45aec80106d59fdb2
dmaengine: sun6i: Simplify lli setting

Checking the DMA config before setting the lli list avoids to do tests
inside the setting loop.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c