Commit 442134ab authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: marvell/cesa - Fix engine load inaccuracy



If an error occurs during queueing the engine load will never be
decremented.  Fix this by moving the engine load adjustment into
the cleanup function.

Fixes: bf8f91e7 ("crypto: marvell - Add load balancing between engines")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent a091a58b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment