]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/dma/iop-adma.c
iop-adma: use iop_paranoia() for debug BUG_ONs
[linux-2.6-omap-h63xx.git] / drivers / dma / iop-adma.c
index 95f5a9466816cb01e1daedaaa5db5ca1b24be3a1..c7a9306d951d2c61f622c601ef2d49af422b679e 100644 (file)
@@ -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