[PATCH 0/4] dma: sh: stop using .private

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vinod

Here's an attempt to convert the shdma driver to a new method, whereby a 
centrally provided filter function is used and the DMA_SLAVE_CONFIG command 
is enabled for slave operation. The last patch is an illustration of how 
this new method shall be used. If this approach is acceptable, I'll also 
convert the remaining shdma user drivers. This patch series goes on top of 
my earlier patches to split shdma.c. It might be easier at some point for 
you to have me provide you a git tree to pull from.

Chris, this time the mmc patch is not yet to be applied. We first have to 
sort out the dmaengine API.

Guennadi Liakhovetski (4):
  dmaengine: shdma: prepare to stop using struct dma_chan::private
  dma: sh: use an integer slave ID to improve API compatibility
  dma: sh: provide a migration path for slave drivers to stop using
    .private
  mmc: sh_mmcif: switch to the new DMA channel allocation and
    configuration

 drivers/dma/sh/shdma-base.c |  130 ++++++++++++++++++++++++++++++++-----------
 drivers/dma/sh/shdma.c      |   35 +++++------
 drivers/dma/sh/shdma.h      |    2 +
 drivers/mmc/host/sh_mmcif.c |   90 +++++++++++++++++-------------
 include/linux/sh_dma.h      |   12 ++--
 include/linux/shdma-base.h  |    7 +-
 6 files changed, 177 insertions(+), 99 deletions(-)

-- 
1.7.2.5

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux