dmaengine: imx-sdma: remove duplicated sdma_load_context
authorRobin Gong <yibin.gong@nxp.com>
Wed, 14 Jul 2021 10:20:44 +0000 (18:20 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 23 Jul 2021 03:18:34 +0000 (11:18 +0800)
commite555a03b112838883fdd8185d613c35d043732f2
tree3bf8f02f27ad2ab4788af1c248db750a41c108d6
parent8592f02464d52776c5cfae4627c6413b0ae7602d
dmaengine: imx-sdma: remove duplicated sdma_load_context

Since sdma_transfer_init() will do sdma_load_context before any
sdma transfer, no need once more in sdma_config_channel().

Fixes: ad0d92d7ba6a ("dmaengine: imx-sdma: refine to load context only once")
Cc: <stable@vger.kernel.org>
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Tested-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/dma/imx-sdma.c