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

From: Guennadi Liakhovetski
Date: Thu Jul 05 2012 - 06:29:56 EST


This patch series supersedes the one from yesterday with the same title.
The 4 patches from v1 are all unchanged, v2 just prepends them with 3 more
preparatory patches. From the original series description:

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.

As suggested yesterday, I've pushed both my current shdma patch series to
github in branches:

git://github.com/lyakh/linux.git shdma-base
git://github.com/lyakh/linux.git shdma-config

for the preceding base shdma-split series and for this one respectively.

As before, the last patch in the series is FYI only for now.

Guennadi Liakhovetski (7):
dmaengine: shdma: (cosmetic) simplify a static function
ASoC: siu: don't use DMA device for channel filtering
sh: remove unused DMA device pointer from SIU platform data
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

arch/sh/include/asm/siu.h | 1 -
arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 1 -
drivers/dma/sh/shdma-base.c | 130 ++++++++++++++++++++++++--------
drivers/dma/sh/shdma.c | 39 +++++-----
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 +-
sound/soc/sh/siu_pcm.c | 4 -
9 files changed, 179 insertions(+), 107 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-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/