linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] soc: ti: knav_qmss_queue: Fix linking RAM setup for queue managers
@ 2015-11-20 23:39 Michal Morawiec
  2015-11-20 23:47 ` santosh shilimkar
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Morawiec @ 2015-11-20 23:39 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-21  3:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-20 23:39 [PATCH 1/1] soc: ti: knav_qmss_queue: Fix linking RAM setup for queue managers Michal Morawiec
2015-11-20 23:47 ` santosh shilimkar
2015-11-21  2:04   ` Michal Morawiec
2015-11-21  3:05     ` santosh.shilimkar at oracle.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).