commit | 9862ba17b7b6866cbee90547ff1f58d055c13f97 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Wed May 16 11:16:03 2012 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Jul 01 14:15:46 2012 +0100 |
tree | 88b467e0fa3c0225cf068513b33cf2a30a639f44 | |
parent | 409ec8db46dc60e5da7169b6bac6b294513d386a [diff] |
dmaengine: PL08x: extract function to to generate cctl values Extract the functionality from dma_slave_config to generate the cctl values for a given bus width and burst size. This allows us to use this elsewhere in the driver, namely the prepare functions. Acked-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>