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>
This commit is contained in:
committed by
Ralf Baechle
parent
f1fc6645a4
commit
ea071cc705
@@ -412,11 +412,13 @@ static int au1550_spi_dma_txrxb(struct spi_device *spi, struct spi_transfer *t)
|
||||
}
|
||||
|
||||
/* put buffers on the ring */
|
||||
res = au1xxx_dbdma_put_dest(hw->dma_rx_ch, hw->rx, t->len);
|
||||
res = au1xxx_dbdma_put_dest(hw->dma_rx_ch, hw->rx,
|
||||
t->len, DDMA_FLAGS_IE);
|
||||
if (!res)
|
||||
dev_err(hw->dev, "rx dma put dest error\n");
|
||||
|
||||
res = au1xxx_dbdma_put_source(hw->dma_tx_ch, (void *)hw->tx, t->len);
|
||||
res = au1xxx_dbdma_put_source(hw->dma_tx_ch, (void *)hw->tx,
|
||||
t->len, DDMA_FLAGS_IE);
|
||||
if (!res)
|
||||
dev_err(hw->dev, "tx dma put source error\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user