aboutsummaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorVitaly Andrianov2015-09-19 16:26:49 +0530
committerTom Rini2015-10-22 14:22:22 -0400
commitbc3003b99928c8976961a8d9bc3a899a7eb2bab4 (patch)
tree95c71110fe321c09bfe1baa498aa1d8129fc6861 /drivers/dma
parentbf7bd4e725105fc0f6f43df6d01d85c6df3ce4eb (diff)
dma: keystone_nav: Fix linkram size
Fix Linkram size. Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/keystone_nav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/keystone_nav.c b/drivers/dma/keystone_nav.c
index dfca75abdcb..5a65b62a391 100644
--- a/drivers/dma/keystone_nav.c
+++ b/drivers/dma/keystone_nav.c
@@ -54,7 +54,7 @@ int _qm_init(struct qm_config *cfg)
qm_cfg = cfg;
qm_cfg->mngr_cfg->link_ram_base0 = qm_cfg->i_lram;
- qm_cfg->mngr_cfg->link_ram_size0 = HDESC_NUM * 8;
+ qm_cfg->mngr_cfg->link_ram_size0 = HDESC_NUM * 8 - 1;
qm_cfg->mngr_cfg->link_ram_base1 = 0;
qm_cfg->mngr_cfg->link_ram_size1 = 0;
qm_cfg->mngr_cfg->link_ram_base2 = 0;