Skip to content
Commit 57937fae authored by Amit Singh Tomar's avatar Amit Singh Tomar Committed by Vinod Koul
Browse files

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: default avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarAmit Singh Tomar <amittomer25@gmail.com>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/1595180527-11320-3-git-send-email-amittomer25@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent bbeeb861
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment