Skip to content
Commit a6dd30e2 authored by Nicolin Chen's avatar Nicolin Chen Committed by Linus Torvalds
Browse files

drivers/dma/mmp_tdma.c: use gen_pool_dma_alloc() to allocate descriptor



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

Signed-off-by: default avatarNicolin Chen <b42378@freescale.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Grant Likely <grant.likely@linaro.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 66f11969
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment