Herbert Xu 6c94711cbd crypto: caam - Handle errors in dma_map_sg_chained
Currently dma_map_sg_chained does not handle errors from the
underlying dma_map_sg calls.  This patch adds rollback in case
of an error by simply calling dma_unmap_sg_chained for the ones
that we've already mapped.

All current callers ignore the return value so this should have
no impact on them.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-06-17 15:35:08 +08:00
..
2015-06-10 19:14:04 +08:00
2015-04-15 15:41:41 -07:00
2015-03-20 17:50:07 +01:00
2015-04-01 10:29:05 -07:00
2015-04-14 17:29:55 -07:00
2015-04-07 12:05:12 +02:00
2015-04-13 17:07:21 -07:00
2015-03-31 12:01:19 -04:00
2015-04-08 08:11:51 -06:00
2015-04-11 15:53:35 -04:00
2015-04-14 17:54:22 -07:00