sound/soc/pxa/mmp-pcm.c: use gen_pool_dma_alloc() to allocate dma buffer
authorNicolin Chen <b42378@freescale.com>
Tue, 12 Nov 2013 23:10:00 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:23 +0000 (12:09 +0900)
commit92a2e1cb53ba649e620b7f02a15ad1fb949c6355
tree2556276630f2f65d89c46faf659fc26a7a271274
parent1112b9e2c9c8ae10551a7d34667a6189f971cdba
sound/soc/pxa/mmp-pcm.c: use gen_pool_dma_alloc() to allocate dma buffer

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

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/soc/pxa/mmp-pcm.c