Skip to contentSkip to conversation

sound-core-memallocc-use-gen_pool_dma_alloc-to-allocate-iram-buffer.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 15, 2013 Sound

lore
Share & tools
lore
#0 lore raw

Subject: [merged] sound-core-memallocc-use-gen_pool_dma_alloc-to-allocate-iram-buffer.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 15 Nov 2013 12:09:27 -0800

The patch titled
Subject: sound/core/memalloc.c: use gen_pool_dma_alloc() to allocate iram buffer
has been removed from the -mm tree. Its filename was
sound-core-memallocc-use-gen_pool_dma_alloc-to-allocate-iram-buffer.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Nicolin Chen <[email protected]>
Subject: sound/core/memalloc.c: use gen_pool_dma_alloc() to allocate iram buffer

Since gen_pool_dma_alloc() is introduced, we implement it to simplify code.

---

 sound/core/memalloc.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
sound/core/memalloc.c renamed from sound/core/memalloc.c~sound-core-memallocc-use-gen_pool_dma_alloc-to-allocate-iram-buffer +0 -3
diff -puN sound/core/memalloc.c~sound-core-memallocc-use-gen_pool_dma_alloc-to-allocate-iram-buffer sound/core/memalloc.c
@@ -184,11 +184,7 @@ static void snd_malloc_dev_iram(struct s
 	/* Assign the pool into private_data field */
 	dmab->private_data = pool;
 
-	dmab->area = (void *)gen_pool_alloc(pool, size);
-	if (!dmab->area)
-		return;