summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-11-11 23:12:33 +0300
committerDan Williams <dan.j.williams@intel.com>2008-11-11 23:12:33 +0300
commit65e503814dec83c7b2ac955e75919d009109c919 (patch)
tree6cd01ca32ae269760d864d3c1bae94fdb0e95a45 /drivers/dma
parent137cb55c6dcd56cb367285adaf15f808a2a9fec7 (diff)
downloadlinux-65e503814dec83c7b2ac955e75919d009109c919.tar.xz
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)
BUG_ON(iop_desc_get_next_desc(old_chain_tail) != next_dma); /* flush */
/* check for pre-chained descriptors */
- BUG_ON(iop_desc_get_next_desc(sw_desc));
+ iop_paranoia(iop_desc_get_next_desc(sw_desc));
/* increment the pending count by the number of slots
* memcpy operations have a 1:1 (slot:operation) relation