commit | f0816a36887b5b6acb387d8a554c5f5ed4069d33 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Thu May 07 17:38:09 2015 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon May 18 10:59:34 2015 +0530 |
tree | 2b8f075e2435a93b54cd859ef5f235e968da0452 | |
parent | ee0fe35c8dcde29e7f65c34c286378750c075bf3 [diff] |
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>