dmaengine: Actions: get rid of bit fields from dma descriptor
authorAmit Singh Tomar <amittomer25@gmail.com>
Sun, 19 Jul 2020 17:41:59 +0000 (23:11 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 27 Jul 2020 09:13:08 +0000 (14:43 +0530)
commit57937faeed386a1d0617f99157e358ebd510e4cd
treeaa82ab829c87bafc35e13136f06270de6c811d60
parentbbeeb861971e5af5bea36818334522094878be77
dmaengine: Actions: get rid of bit fields from dma descriptor

At the moment, Driver uses bit fields to describe registers of the DMA
descriptor structure that makes it less portable and maintainable, and
Andre suugested(and even sketched important bits for it) to make use of
array to describe this DMA descriptors instead. It gives the flexibility
while extending support for other platform such as Actions S700.

This commit removes the "owl_dma_lli_hw" (that includes bit-fields) and
uses array to describe DMA descriptor.

Suggested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/1595180527-11320-3-git-send-email-amittomer25@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/owl-dma.c