diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2009-10-13 14:22:34 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:52:54 -0500 |
commit | ea071cc705e8bfba0c8bf84be8d4f9f4e9da6962 (patch) | |
tree | 9dafff9da1740dcfc475100b4d5dae963650cfd1 /drivers/spi | |
parent | f1fc6645a4d2cb944320ce8ed1e40f88059779e1 (diff) |
MIPS: Alchemy: remove dbdma compat macros
Remove dbdma compat macros, move remaining users over to default
queueing functions and -flags.
(Queueing function signature has changed in order to give
a build failure instead of silent functional changes due
to the no longer implicitly specified DDMA_FLAGS_IE flag)
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/au1550_spi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/spi/au1550_spi.c b/drivers/spi/au1550_spi.c index cfd5ff9508fa..22f7d7294787 100644 --- a/drivers/spi/au1550_spi.c +++ b/drivers/spi/au1550_spi.c | |||
@@ -412,11 +412,13 @@ static int au1550_spi_dma_txrxb(struct spi_device *spi, struct spi_transfer *t) | |||
412 | } | 412 | } |
413 | 413 | ||
414 | /* put buffers on the ring */ | 414 | /* put buffers on the ring */ |
415 | res = au1xxx_dbdma_put_dest(hw->dma_rx_ch, hw->rx, t->len); | 415 | res = au1xxx_dbdma_put_dest(hw->dma_rx_ch, hw->rx, |
416 | t->len, DDMA_FLAGS_IE); | ||
416 | if (!res) | 417 | if (!res) |
417 | dev_err(hw->dev, "rx dma put dest error\n"); | 418 | dev_err(hw->dev, "rx dma put dest error\n"); |
418 | 419 | ||
419 | res = au1xxx_dbdma_put_source(hw->dma_tx_ch, (void *)hw->tx, t->len); | 420 | res = au1xxx_dbdma_put_source(hw->dma_tx_ch, (void *)hw->tx, |
421 | t->len, DDMA_FLAGS_IE); | ||
420 | if (!res) | 422 | if (!res) |
421 | dev_err(hw->dev, "tx dma put source error\n"); | 423 | dev_err(hw->dev, "tx dma put source error\n"); |
422 | 424 | ||