diff options
author | Dmitry Kasatkin <dmitry.kasatkin@nokia.com> | 2010-11-19 16:04:24 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-11-27 16:37:17 +0800 |
commit | 3e133c8bf6a6723377d94bc97aa52596e49a4090 (patch) | |
tree | e04e9dfcfbfc95ad5a529dd10b504c1dce22ae66 /mm/dmapool.c | |
parent | c8eb54041acc4dedeaf0d9da34b91b8658386751 (diff) |
crypto: omap-sham - error handling improved
Introduces DMA error handling.
DMA error is returned as a result code of the hash request.
Clients needs to handle error codes and may repeat hash calculation attempt.
Also in the case of DMA error, SHAM module is set to be re-initialized again.
It significantly improves stability against possible HW failures.
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'mm/dmapool.c')
0 files changed, 0 insertions, 0 deletions