aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-01-06 13:38:19 -0500
committerDan Williams <dan.j.williams@intel.com>2009-01-06 13:38:19 -0500
commit7dd602510128d7a64b11ff3b7d4f30ac8e3946ce (patch)
tree6a87f942c72b0b02d24db7144cad435211178fcc /drivers/mmc
parentf27c580c3628d79b17f38976d842a6d7f3616e2e (diff)
dmaengine: kill enum dma_state_client
DMA_NAK is now useless. We can just use a bool instead. Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/atmel-mci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 4b567a0408e1..b0042d06eaf7 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -1544,14 +1544,14 @@ static void __exit atmci_cleanup_slot(struct atmel_mci_slot *slot,
1544} 1544}
1545 1545
1546#ifdef CONFIG_MMC_ATMELMCI_DMA 1546#ifdef CONFIG_MMC_ATMELMCI_DMA
1547static enum dma_state_client filter(struct dma_chan *chan, void *slave) 1547static bool filter(struct dma_chan *chan, void *slave)
1548{ 1548{
1549 struct dw_dma_slave *dws = slave; 1549 struct dw_dma_slave *dws = slave;
1550 1550
1551 if (dws->dma_dev == chan->device->dev) 1551 if (dws->dma_dev == chan->device->dev)
1552 return DMA_ACK; 1552 return true;
1553 else 1553 else
1554 return DMA_DUP; 1554 return false;
1555} 1555}
1556#endif 1556#endif
1557 1557