]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f8ba5aea1cfe5cf3baa5d2cdb88f3aefc03f1ff
tree33811a8d24d116ab032672f690f56e73040b0be6
parent01fbaf61e5e567682ea784972088485ab4645a3a
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