dma: mv_xor: Add DMA API error checks
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 10 Dec 2013 12:32:37 +0000 (09:32 -0300)
committerDan Williams <dan.j.williams@intel.com>
Thu, 10 Apr 2014 19:17:34 +0000 (12:17 -0700)
commitb8c01d259a08d75c5049b2bd5f579648262c30a4
treef4d3edd27f2af1c4ea74bde4f46cb8aaad7cf257
parent1fde2548460c1ded9fe71220b506473f0b7de768
dma: mv_xor: Add DMA API error checks

This commit adds proper error checking for various DMA API calls,
as reported by DMA_API_DEBUG=y.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/mv_xor.c