diff options
author | Hongbo Zhang <hongbo.zhang@freescale.com> | 2014-04-18 12:17:47 +0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-05-02 20:47:42 +0400 |
commit | 86d19a5491d08fdc5a5cb4be5a09d5f88a6b96ba (patch) | |
tree | b9cf63688839df5daea4333e38de9c01f7283c57 /lib/dec_and_lock.c | |
parent | 867dfa5dfcf4545b73e39ce95bf6abdafacf95bf (diff) | |
download | linux-86d19a5491d08fdc5a5cb4be5a09d5f88a6b96ba.tar.xz |
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>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions