dmaengine: fsl-edma: involve help macro fsl_edma_set(get)_tcd()
authorFrank Li <Frank.Li@nxp.com>
Thu, 21 Dec 2023 15:35:23 +0000 (10:35 -0500)
committerVinod Koul <vkoul@kernel.org>
Wed, 7 Feb 2024 08:40:17 +0000 (09:40 +0100)
commit5dc604455dcf20bdca639bf6b8ea2ea60d39c022
treed9d7d58537ec92c72588bb26a135b0b135404f89
parentd2363272ef9f96709ec1a146bb66378256c92e1d
dmaengine: fsl-edma: involve help macro fsl_edma_set(get)_tcd()

Using help macro fsl_edma_set(get)_tcd() and edma_cp_tcd_to_reg() to handle
difference field size. This is not function change and prepare for 64bit
tcd in imx95.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20231221153528.1588049-2-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-edma-common.c
drivers/dma/fsl-edma-common.h