commit | b1f996e0b3b00c98f0ac8ffef1a6572cbc735bbc | [log] [tgz] |
---|---|---|
author | Alex Porosanu <alexandru.porosanu@freescale.com> | Mon Sep 09 18:56:32 2013 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 13 21:43:55 2013 +1000 |
tree | 8f6ecb80263398bef489cc6f7a555230fbcc0531 | |
parent | 04cddbfe6b5f334aa337a1a9797eb8914822f2f8 [diff] |
crypto: caam - uninstantiate RNG state handle 0 if instantiated by caam driver If the caam driver module instantiates the RNG state handle 0, then upon the removal of the module, the RNG state handle is left initialized. This patch takes care of reverting the state of the handle back to its previous uninstantatied state. Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>