diff options
author | Robin Gong <yibin.gong@nxp.com> | 2018-06-20 00:57:03 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-07-02 18:24:47 +0530 |
commit | 21420841a554dae8a193cd3454ba91d913cfc320 (patch) | |
tree | 1140a0c39774cfe8449b4f61fef97fa92bee2e1a /kernel | |
parent | 36e8d3b133e16eb2aee8a53b9ed5cd34821f6123 (diff) |
dmaengine: imx-sdma: add sdma_transfer_init to decrease code overlap
There are lot of codes overlap between prep_sg and prep_cyclic function.
Add sdma_transfer_init() function to elimated the code overlap.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions