crypto: sun8i-ce-hash - fix error handling in sun8i_ce_hash_run()
[ Upstream commit ea4dd134 ] Rework error handling in sun8i_ce_hash_run() to unmap the dma buffers in case of failure. Currently, the dma unmap functions are not called if the function errors out at various points. Fixes: 56f6d5ae ("crypto: sun8i-ce - support hash algorithms") Signed-off-by:Ovidiu Panait <ovidiu.panait.oss@gmail.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading