diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2014-08-27 09:52:52 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-09-23 10:47:00 -0400 |
commit | 0e7488ed01235fdd24ce7f0295dbbea0d45311bb (patch) | |
tree | a1ff4f76484f071eefbfcc9df1f7f795da95bebb /drivers/dma/mpc512x_dma.c | |
parent | dfc97661bdeadb57d35458430612072119b1c72f (diff) |
dma: mv_xor: Remove all interrupt magic numbers
This commit replaces the current magic numbers in the interrupt handling
with proper macros, which makes more readable and self-documenting.
While here replace the BUG() with a noisy WARN_ON(). There's no reason
to tear down the entire system for an DMA IRQ error.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mpc512x_dma.c')
0 files changed, 0 insertions, 0 deletions