[PATCH 00/10] imx-sdma cleanup

Joshua Clayton stillcompiling at gmail.com
Mon Jun 15 09:18:55 PDT 2015

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

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(-)


More information about the linux-arm-kernel mailing list