summaryrefslogtreecommitdiffstats
path: root/drivers/power/rx51_battery.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-05-07 17:38:09 +0200
committerVinod Koul <vinod.koul@intel.com>2015-05-18 10:59:34 +0530
commitf0816a36887b5b6acb387d8a554c5f5ed4069d33 (patch)
tree2b8f075e2435a93b54cd859ef5f235e968da0452 /drivers/power/rx51_battery.c
parentee0fe35c8dcde29e7f65c34c286378750c075bf3 (diff)
downloadlinux-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