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>
This commit is contained in:
@@ -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
|
||||
|
مرجع در شماره جدید
Block a user