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 10:59:34 +0530 |
commit | f0816a36887b5b6acb387d8a554c5f5ed4069d33 (patch) | |
tree | 2b8f075e2435a93b54cd859ef5f235e968da0452 /drivers/power/rx51_battery.c | |
parent | ee0fe35c8dcde29e7f65c34c286378750c075bf3 (diff) | |
download | linux-stable-f0816a36887b5b6acb387d8a554c5f5ed4069d33.tar.gz linux-stable-f0816a36887b5b6acb387d8a554c5f5ed4069d33.tar.bz2 linux-stable-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/power/rx51_battery.c')
0 files changed, 0 insertions, 0 deletions