dmaengine: xdmac: Add function to align width
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 7 May 2015 15:38:09 +0000 (17:38 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 18 May 2015 05:29:34 +0000 (10:59 +0530)
commitf0816a36887b5b6acb387d8a554c5f5ed4069d33
tree2b8f075e2435a93b54cd859ef5f235e968da0452
parentee0fe35c8dcde29e7f65c34c286378750c075bf3
dmaengine: xdmac: Add function to align width

The code has some logic to compute the burst width according to the alignment
of the address we're using.

Move that in a function of its own to reduce code duplication.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c
This page took 0.030095 seconds and 5 git commands to generate.