diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-11-11 23:12:33 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-11-11 23:12:33 +0300 |
commit | 65e503814dec83c7b2ac955e75919d009109c919 (patch) | |
tree | 6cd01ca32ae269760d864d3c1bae94fdb0e95a45 /arch/arm/mach-iop13xx | |
parent | 137cb55c6dcd56cb367285adaf15f808a2a9fec7 (diff) | |
download | linux-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 'arch/arm/mach-iop13xx')
-rw-r--r-- | arch/arm/mach-iop13xx/include/mach/adma.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-iop13xx/include/mach/adma.h b/arch/arm/mach-iop13xx/include/mach/adma.h index 60019c8e6465..5722e86f2174 100644 --- a/arch/arm/mach-iop13xx/include/mach/adma.h +++ b/arch/arm/mach-iop13xx/include/mach/adma.h @@ -404,7 +404,8 @@ static inline void iop_desc_set_next_desc(struct iop_adma_desc_slot *desc, u32 next_desc_addr) { struct iop13xx_adma_desc_hw *hw_desc = desc->hw_desc; - BUG_ON(hw_desc->next_desc); + + iop_paranoia(hw_desc->next_desc); hw_desc->next_desc = next_desc_addr; } |