crypto: marvell/cesa - Fix engine load inaccuracy
[ Upstream commit 442134ab ] 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:Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading