]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit170dd56dfc3b13e7dafd48e27f67fddb3f17ef2a
tree0e3811c00402a91d1bf0f4f196e374854d3095f5
parentb8840098b70c11d70c29263e0765f103e6cbe55e
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