Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1274489

[PATCH 1/1] soc: ti: knav_qmss_queue: Fix linking RAM setup for queue managers

From Michal Morawiec <michal.morawiec@tieto.com>
Newsgroups linux.kernel
Subject [PATCH 1/1] soc: ti: knav_qmss_queue: Fix linking RAM setup for queue managers
Date 2015-11-21 00:40 +0100
Message-ID <qx3rz-5CJ-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Configure linking RAM for both queue managers also in case
when only linking RAM 0 is specified in device tree.

Signed-off-by: Michal Morawiec <michal.1.morawiec.ext@nokia.com>
---
 drivers/soc/ti/knav_qmss_queue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c
index 6d8646d..a809c30 100644
--- a/drivers/soc/ti/knav_qmss_queue.c
+++ b/drivers/soc/ti/knav_qmss_queue.c
@@ -1173,7 +1173,7 @@ static int knav_queue_setup_link_ram(struct knav_device *kdev)
 
 		block++;
 		if (!block->size)
-			return 0;
+			continue;
 
 		dev_dbg(kdev->dev, "linkram1: phys:%x, virt:%p, size:%x\n",
 			block->phys, block->virt, block->size);
-- 
2.4.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] soc: ti: knav_qmss_queue: Fix linking RAM setup for queue managers Michal Morawiec <michal.morawiec@tieto.com> - 2015-11-21 00:40 +0100
  Re: [PATCH 1/1] soc: ti: knav_qmss_queue: Fix linking RAM setup for  queue managers santosh shilimkar <santosh.shilimkar@oracle.com> - 2015-11-21 00:50 +0100
    Re: [PATCH 1/1] soc: ti: knav_qmss_queue: Fix linking RAM setup for  queue managers Michal Morawiec <michal.morawiec@tieto.com> - 2015-11-21 03:10 +0100
      Re: [PATCH 1/1] soc: ti: knav_qmss_queue: Fix linking RAM setup for  queue managers "santosh.shilimkar@oracle.com" <santosh.shilimkar@oracle.com> - 2015-11-21 04:10 +0100

csiph-web