drivers/media/platform/coda.c: use gen_pool_dma_alloc() to allocate iram buffer
authorNicolin Chen <b42378@freescale.com>
Tue, 12 Nov 2013 23:09:56 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:23 +0000 (12:09 +0900)
commit43f950f454815cca2c39244c7441f9288d7389e0
tree77aa79c5671f3bd7b5ca07badbbe98d5c34b2a55
parenta6dd30e2bc88b3816341534c3cd0ebbecdda3ec6
drivers/media/platform/coda.c: use gen_pool_dma_alloc() to allocate iram buffer

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

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Acked-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/platform/coda.c