diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-11-11 13:12:33 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-11-11 13:12:33 -0700 |
commit | 65e503814dec83c7b2ac955e75919d009109c919 (patch) | |
tree | 6cd01ca32ae269760d864d3c1bae94fdb0e95a45 /drivers | |
parent | 137cb55c6dcd56cb367285adaf15f808a2a9fec7 (diff) | |
download | linux-stable-65e503814dec83c7b2ac955e75919d009109c919.tar.gz linux-stable-65e503814dec83c7b2ac955e75919d009109c919.tar.bz2 linux-stable-65e503814dec83c7b2ac955e75919d009109c919.zip |
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')
-rw-r--r-- | drivers/dma/iop-adma.c | 2 |
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 |