]> 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)
commit8b94c8b82cd713a5b5fbd936073d9eb881e7b25a
treebeb1c87d6655091345e119e04a5dd6df900e5290
parentf9bb4b753eb00c02014e4467a28609f4f6ac7f88
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