]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: mv_cesa - add an expiry timer in case anything goes wrong
authorPhil Sutter <phil.sutter@viprinet.com>
Fri, 25 May 2012 13:54:46 +0000 (15:54 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 12 Jun 2012 08:37:20 +0000 (16:37 +0800)
commit5fac72f59f76b656e113c598c6d925b0b6693727
tree0e3811c00402a91d1bf0f4f196e374854d3095f5
parent690ffa5828ca92167e7e920301a7c5ac84e6d06f
crypto: mv_cesa - add an expiry timer in case anything goes wrong

The timer triggers when 500ms have gone by after triggering the engine
and no completion interrupt was received. The callback then tries to
sanitise things as well as possible.

Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mv_cesa.c