crypto: caam - fix "failed to check map error" DMA warnings
authorHoria Geanta <horia.geanta@freescale.com>
Fri, 11 Jul 2014 12:34:49 +0000 (15:34 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Jul 2014 13:28:43 +0000 (21:28 +0800)
commitce572085282128d57324aabf415673dfbfa32d54
tree879a4364d8df98013cd4bd62c80d6aad90206353
parent71c65f7c90a176877ad1aa87b752217db61148a8
crypto: caam - fix "failed to check map error" DMA warnings

Use dma_mapping_error for every dma_map_single / dma_map_page.

Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/caamhash.c
drivers/crypto/caam/caamrng.c