]> 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)
commit54c914f992e849422f75459372ae5614aa98cbc5
tree0e3811c00402a91d1bf0f4f196e374854d3095f5
parenta7c3a35e9e63e79796002670bd7aad7e860cc85f
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