imx-sdma cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | dma: imx-sdma: constify local structsdrivers/ | +11 | 0 replies | |
| 2/10 | dma: imx-sdma: pass sdma engine into functionsdrivers/ | +30 | 0 replies | |
| 3/10 | dma: imx-sdma: use a container_of functiondrivers/ | +15 | 0 replies | |
| 4/10 | dma: sdma-imx set dma script address directlydrivers/ | +16 | 0 replies | |
| 5/10 | dma: sdma-imx: print an error when context load fails.drivers/ | +4 | 0 replies | |
| 6/10 | dma: imx-sdma: config in sdma_config_channel()drivers/ | +17 | 0 replies | |
| 7/10 | dma: imx-sdma: validate word size when setdrivers/ | +7 | 0 replies | |
| 8/10 | dma: imx-sdma: extract common sdma prep codedrivers/ | +32 | 0 replies | |
| 9/10 | dma: imx-sdma: use a for loopdrivers/ | +2 | 0 replies | |
| 10/10 | dma: imx-sdma: extract sdma_set_buffer_descriptor()drivers/ | +54 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] imx-sdma cleanup
The primary purpose of this patch series, was to
combine common parts of sdma_prep_slave_sg() andsdma_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(-)
Signature · 1 line
2.1.4