[PATCH 00/10] imx-sdma cleanup

From: Joshua Clayton
Date: Mon Jun 15 2015 - 12:19:21 EST


The primary purpose of this patch series, was to
combine common parts of sdma_prep_slave_sg() and
sdma_prep_dma_cyclic().

Code that is common between cyclic and slave
prep functions is combined, which also makes it easier to see
how they meaningfully differ.

In addition, we remove several unneeded or duplicative variables
from struct sdma_channel, add a few more printks on errors,
and simplify some internal functions.

Tested on imx6q

Joshua Clayton (10):
dma: imx-sdma: constify local structs
dma: imx-sdma: pass sdma engine into functions
dma: imx-sdma: use a container_of function
dma: sdma-imx set dma script address directly
dma: sdma-imx: print an error when context load fails.
dma: imx-sdma: config in sdma_config_channel()
dma: imx-sdma: validate word size when set
dma: imx-sdma: extract common sdma prep code
dma: imx-sdma: use a for loop
dma: imx-sdma: extract sdma_set_buffer_descriptor()

drivers/dma/imx-sdma.c | 387 +++++++++++++++++++++++--------------------------
1 file changed, 185 insertions(+), 202 deletions(-)

--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/