commit | 86d19a5491d08fdc5a5cb4be5a09d5f88a6b96ba | [log] [tgz] |
---|---|---|
author | Hongbo Zhang <hongbo.zhang@freescale.com> | Fri Apr 18 16:17:47 2014 +0800 |
committer | Vinod Koul <vinod.koul@intel.com> | Fri May 02 22:17:42 2014 +0530 |
tree | b9cf63688839df5daea4333e38de9c01f7283c57 | |
parent | 867dfa5dfcf4545b73e39ce95bf6abdafacf95bf [diff] |
DMA: Freescale: add fsl_dma_free_descriptor() to reduce code duplication There are several places where descriptors are freed using identical code. This patch puts this code into a function to reduce code duplication. Signed-off-by: Hongbo Zhang <hongbo.zhang@freescale.com> Signed-off-by: Qiang Liu <qiang.liu@freescale.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>