diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-06-19 19:56:59 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-07-02 15:54:47 +0300 |
commit | 76c33d27073e29bd98d1c975265e1cbe0889fc53 (patch) | |
tree | 8d486cb3cafb84539afdbc220d6dc932d98d895b /arch | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) | |
download | linux-76c33d27073e29bd98d1c975265e1cbe0889fc53.tar.xz |
dmaengine: imx-sdma: factor out a struct sdma_desc from struct sdma_channel
This is a preparation step to make the adding of virt-dma easier.
We create a struct sdma_desc, move some fields from struct sdma_channel
there and add a pointer from the former to the latter. For now we
allocate the data statically in struct sdma_channel, but with
virt-dma support it will be dynamically allocated.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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 'arch')
0 files changed, 0 insertions, 0 deletions