summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/devices-db8500.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-05-03 15:32:03 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-05-23 21:12:47 +0200
commitdb72da92103e3023e6a4fdfe65183b21bfe5d883 (patch)
tree19663173711535124862a6833481633d875d3377 /arch/arm/mach-ux500/devices-db8500.c
parent4bd04e2ed415754a38118399328bc2c494f68632 (diff)
downloadblackbird-op-linux-db72da92103e3023e6a4fdfe65183b21bfe5d883.tar.gz
blackbird-op-linux-db72da92103e3023e6a4fdfe65183b21bfe5d883.zip
dmaengine: ste_dma40: Calculate number of logical channels from physical ones
This change will cost ~25KB of memory, but it's worth the trade-off, as it removes a great deal of overhead. It means that instead of only allocating memory for the logical channels in use, it does so for all available ones, which is 32 per physical channel. However, this now means we can remove some platform data and we don't have to worry about adding vendor specific variables to Device Tree. Acked-by: Vinod Koul <vnod.koul@intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/devices-db8500.c')
-rw-r--r--arch/arm/mach-ux500/devices-db8500.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c
index 7989c564e47a..130f3d9917e7 100644
--- a/arch/arm/mach-ux500/devices-db8500.c
+++ b/arch/arm/mach-ux500/devices-db8500.c
@@ -121,7 +121,6 @@ static const dma_addr_t dma40_rx_map[DB8500_DMA_NR_DEV] = {
};
static struct stedma40_platform_data dma40_plat_data = {
- .dev_len = DB8500_DMA_NR_DEV,
.dev_rx = dma40_rx_map,
.dev_tx = dma40_tx_map,
.disabled_channels = {-1},
OpenPOWER on IntegriCloud