commit | 5396c6c0741317a54f8032ac50346f123e664a52 | [log] [tgz] |
---|---|---|
author | Vutla, Lokesh <lokeshvutla@ti.com> | Tue Jul 07 21:01:45 2015 +0530 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jul 08 15:18:45 2015 +0800 |
tree | f87753e30a14c501f7d31ce77ebd0cc22795eca3 | |
parent | 6e2e3d1de45214fe5538318a208f2f7ccc617e4c [diff] |
crypto: omap-aes - Fix configuring of AES mode AES_CTRL_REG is used to configure AES mode. Before configuring any mode we need to make sure all other modes are reset or else driver will misbehave. So mask all modes before configuring any AES mode. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>