[PATCHv2 0/6] dmaengine: introduce is_slave_xfer helper

From: Andy Shevchenko
Date: Fri Nov 16 2012 - 10:52:09 EST


There is a common practice to distinguish slave type transfers by checking
direction of the channel. This series introduces the check helper and its usage
across the drivers.

Since v1:
- append commit messages to the all patches
- update description for the patches against dw_dmac and at_hdmac
- apply all current Reviewed-by and Acked-by tags

Andy Shevchenko (6):
dmaengine: introduce is_slave_xfer function
dma: at_hdmac: check direction properly for cyclic transfers
dma: dw_dmac: check direction properly in dw_dma_cyclic_prep
dma: ep93xx_dma: reuse is_slave_xfer helper
dma: ipu_idmac: reuse is_slave_xfer helper
dma: ste_dma40: reuse is_slave_xfer helper

drivers/dma/at_hdmac.c | 10 +++++-----
drivers/dma/dw_dmac.c | 5 +++--
drivers/dma/ep93xx_dma.c | 3 +--
drivers/dma/ipu/ipu_idmac.c | 2 +-
drivers/dma/ste_dma40.c | 2 +-
include/linux/dmaengine.h | 5 +++++
6 files changed, 16 insertions(+), 11 deletions(-)

--
1.7.10.4

--
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/