]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: fsl-edma: remove redundant "idle" field from fsl_chan
authorFrank Li <Frank.Li@nxp.com>
Mon, 3 Jun 2024 15:23:16 +0000 (11:23 -0400)
committerVinod Koul <vkoul@kernel.org>
Tue, 11 Jun 2024 18:25:34 +0000 (23:55 +0530)
commitbb160502a45440d2b52c189d5a81365c01b8d494
tree7dcc35d36a523f4a54a6f8d99b0a5b34ea25c3cb
parent44eb827264de4f14d8317692441e13f5e2aadbf2
dmaengine: fsl-edma: remove redundant "idle" field from fsl_chan

The 'idle' in fsl_chan is redundant as it's equivalent to
'status != DMA_IN_PROGRESS'. So remote it to simple code logic.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240603152317.69917-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
drivers/dma/fsl-edma-main.c
drivers/dma/mcf-edma-main.c