crypto: caam - fix inconsistent assoc dma mapping direction
authorHoria Geanta <horia.geanta@freescale.com>
Fri, 10 May 2013 12:08:39 +0000 (15:08 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 May 2013 02:37:57 +0000 (10:37 +0800)
req->assoc is dma mapped BIDIRECTIONAL and unmapped TO_DEVICE.
Since it is read-only for the device, use TO_DEVICE both for mapping
and unmapping.

Cc: <stable@vger.kernel.org> # 3.9, 3.8
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found