linux_dsm_epyc7002/drivers/dma/sh
Guennadi Liakhovetski 1ff8df4f53 dma: sh: provide a migration path for slave drivers to stop using .private
This patch extends the sh dmaengine driver to support the preferred channel
selection and configuration method, instead of using the "private" field
from struct dma_chan. We add a standard filter function to be used by
slave drivers instead of implementing their own ones, and add support for
the DMA_SLAVE_CONFIG control operation, which must accompany the new
channel selection method. We still support the legacy .private channel
allocation method to cater for a smooth driver migration.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
[applied a trvial checkpath fix]
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
2012-07-20 11:28:20 +05:30
..
Makefile dmaengine: add an shdma-base library 2012-07-13 09:13:07 +05:30
shdma-base.c dma: sh: provide a migration path for slave drivers to stop using .private 2012-07-20 11:28:20 +05:30
shdma.c dma: sh: provide a migration path for slave drivers to stop using .private 2012-07-20 11:28:20 +05:30
shdma.h dmaengine: shdma: prepare to stop using struct dma_chan::private 2012-07-20 11:23:44 +05:30