aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-11-11 15:12:33 -0500
committerDan Williams <dan.j.williams@intel.com>2008-11-11 15:12:33 -0500
commit65e503814dec83c7b2ac955e75919d009109c919 (patch)
tree6cd01ca32ae269760d864d3c1bae94fdb0e95a45 /drivers/dma
parent137cb55c6dcd56cb367285adaf15f808a2a9fec7 (diff)
iop-adma: use iop_paranoia() for debug BUG_ONs
Now that the critical read back to flush the next descriptor address is fixed we can downgrade some BUG_ONs that need only be enabled when testing changes to the driver. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/iop-adma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c
index 95f5a9466816..c7a9306d951d 100644
--- a/drivers/dma/iop-adma.c
+++ b/drivers/dma/iop-adma.c
@@ -431,7 +431,7 @@ iop_adma_tx_submit(struct dma_async_tx_descriptor *tx)
431 BUG_ON(iop_desc_get_next_desc(old_chain_tail) != next_dma); /* flush */ 431 BUG_ON(iop_desc_get_next_desc(old_chain_tail) != next_dma); /* flush */
432 432
433 /* check for pre-chained descriptors */ 433 /* check for pre-chained descriptors */
434 BUG_ON(iop_desc_get_next_desc(sw_desc)); 434 iop_paranoia(iop_desc_get_next_desc(sw_desc));
435 435
436 /* increment the pending count by the number of slots 436 /* increment the pending count by the number of slots
437 * memcpy operations have a 1:1 (slot:operation) relation 437 * memcpy operations have a 1:1 (slot:operation) relation