summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear13xx/spear13xx.c
diff options
context:
space:
mode:
authorAndy Shevchenko2012-09-21 14:05:47 +0200
committerVinod Koul2012-09-27 12:05:23 +0200
commit4a63a8b3e8d2e4f56174deb728085010aa3ac2a1 (patch)
tree0c6d4fb4cd88f9c7fff748909e5956ea55793ef0 /arch/arm/mach-spear13xx/spear13xx.c
parentdw_dmac: get number of channels from hardware if possible (diff)
downloadkernel-qcow2-linux-4a63a8b3e8d2e4f56174deb728085010aa3ac2a1.tar.gz
kernel-qcow2-linux-4a63a8b3e8d2e4f56174deb728085010aa3ac2a1.tar.xz
kernel-qcow2-linux-4a63a8b3e8d2e4f56174deb728085010aa3ac2a1.zip
dw_dmac: autoconfigure block_size or use platform data
The maximum block size is a configurable parameter for the chip. So, driver will try to get it from the encoded component parameters. Otherwise it will come from the platform data. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'arch/arm/mach-spear13xx/spear13xx.c')
-rw-r--r--arch/arm/mach-spear13xx/spear13xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-spear13xx/spear13xx.c b/arch/arm/mach-spear13xx/spear13xx.c
index cf936b106e27..c64d8123518f 100644
--- a/arch/arm/mach-spear13xx/spear13xx.c
+++ b/arch/arm/mach-spear13xx/spear13xx.c
@@ -78,6 +78,7 @@ struct dw_dma_platform_data dmac_plat_data = {
.nr_channels = 8,
.chan_allocation_order = CHAN_ALLOCATION_DESCENDING,
.chan_priority = CHAN_PRIORITY_DESCENDING,
+ .block_size = 4095U,
};
void __init spear13xx_l2x0_init(void)