dmaengine: dw: Define encode_maxburst() above prepare_ctllo() callbacks
authorSerge Semin <fancer.lancer@gmail.com>
Fri, 2 Aug 2024 07:50:49 +0000 (10:50 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 5 Aug 2024 16:37:47 +0000 (22:07 +0530)
commit3acb301d33749a8974e61ecda16a5f5441fc9628
tree8c2e42c95e183f7a617256f3350cbabd138f00ce
parent1fd6fe89055e6dbb4be8f16b8dcab8602e3603d6
dmaengine: dw: Define encode_maxburst() above prepare_ctllo() callbacks

As a preparatory change before dropping the encode_maxburst() callbacks
let's move dw_dma_encode_maxburst() and idma32_encode_maxburst() to being
defined above the dw_dma_prepare_ctllo() and idma32_prepare_ctllo()
methods respectively. That's required since the former methods will be
called from the later ones directly.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Acked-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20240802075100.6475-5-fancer.lancer@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/dw.c
drivers/dma/dw/idma32.c