]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: imx-sdma: refine to load context only once
authorRobin Gong <yibin.gong@nxp.com>
Tue, 8 Jan 2019 12:00:16 +0000 (12:00 +0000)
committerVinod Koul <vkoul@kernel.org>
Tue, 8 Jan 2019 17:03:27 +0000 (22:33 +0530)
commit3f6f718029d8f261a7ef29058683769e2abd0494
treebeb1c87d6655091345e119e04a5dd6df900e5290
parentd6952d4b95d3a6897fcea7446c97f59f8d24556b
dmaengine: imx-sdma: refine to load context only once

The context loaded only one time before channel running,but
currently sdma_config_channel() and dma_prep_* duplicated with
sdma_load_context(), so refine it to load context only one time
before channel running and reload after the channel terminated.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/imx-sdma.c