commit | 0e7488ed01235fdd24ce7f0295dbbea0d45311bb | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | Wed Aug 27 10:52:52 2014 -0300 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Sep 23 20:17:00 2014 +0530 |
tree | a1ff4f76484f071eefbfcc9df1f7f795da95bebb | |
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>