]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sound/soc/pxa/mmp-pcm.c: use gen_pool_dma_alloc() to allocate dma buffer
authorNicolin Chen <b42378@freescale.com>
Tue, 5 Nov 2013 05:56:52 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:52 +0000 (16:56 +1100)
commit2a95f5e1a871a6e267ca717b7e586b12a89b05dc
treee4392d565ece13382e4fb4d82f5637ba32357a31
parent5c4233bf917d36776f4ce991c08cc7aa28eec2b8
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>
sound/soc/pxa/mmp-pcm.c