OSDN Git Service

crypto: cavium - Fix statistics pending request value
authorJan Glauber <jglauber@cavium.com>
Mon, 9 Apr 2018 15:45:53 +0000 (17:45 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Apr 2018 16:58:35 +0000 (00:58 +0800)
commit1cc7e01ff977770ce0651f4d347a84e360835c3b
tree33811a8d24d116ab032672f690f56e73040b0be6
parenta40c88045506ecba8e3ae75da19e8a2c53e23a41
crypto: cavium - Fix statistics pending request value

The pending request counter was read from the wrong register. While
at it, there is no need to use an atomic for it as it is only read
localy in a loop.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Reviewed-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/zip/zip_main.c
drivers/crypto/cavium/zip/zip_main.h