Home
last modified time | relevance | path

Searched hist:"286233 e6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg.c286233e6 Fri May 10 07:08:39 CDT 2013 Horia Geanta <horia.geanta@freescale.com> crypto: caam - fix inconsistent assoc dma mapping direction

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>
286233e6 Fri May 10 07:08:39 CDT 2013 Horia Geanta <horia.geanta@freescale.com> crypto: caam - fix inconsistent assoc dma mapping direction

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>