commit | 21420841a554dae8a193cd3454ba91d913cfc320 | [log] [tgz] |
---|---|---|
author | Robin Gong <yibin.gong@nxp.com> | Wed Jun 20 00:57:03 2018 +0800 |
committer | Vinod Koul <vkoul@kernel.org> | Mon Jul 02 18:24:47 2018 +0530 |
tree | 1140a0c39774cfe8449b4f61fef97fa92bee2e1a | |
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>