crypto: marvell/cesa - Fix engine load inaccuracy
[ Upstream commit 442134ab30e75b7229c4bfc1ac5641d245cffe27 ] 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
Please register or sign in to comment