diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-05-07 17:38:09 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-05-18 07:29:34 +0200 |
commit | f0816a36887b5b6acb387d8a554c5f5ed4069d33 (patch) | |
tree | 2b8f075e2435a93b54cd859ef5f235e968da0452 /drivers/message | |
parent | dmaengine: xdmac: Handle descriptor's view 3 registers (diff) | |
download | linux-f0816a36887b5b6acb387d8a554c5f5ed4069d33.tar.xz linux-f0816a36887b5b6acb387d8a554c5f5ed4069d33.zip |
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>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions