crypto: omap-aes - DMA initialization fixes for OMAP off mode
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>
Tue, 30 Nov 2010 08:13:27 +0000 (10:13 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 2 Dec 2010 08:37:05 +0000 (16:37 +0800)
commit3bd2e2216bc82a83fc5048f8e61d2d22dd5d9cda
tree4497403992937d9a531c04baad17de046948d845
parentc920fa6051c1e7eb3733eaefd01e5bcdddb3d4c8
crypto: omap-aes - DMA initialization fixes for OMAP off mode

DMA parameters for constant data were initialized during driver probe().
It seems that those settings sometimes are lost when devices goes to off mode.
This patch makes DMA initialization just before use.
It solves off mode problems.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-aes.c