mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]>
This commit is contained in:
parent
137cb55c6d
commit
65e503814d
4 changed files with 12 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue