]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - fix missing unlock on error in safexcel_ahash_send_req()
authorweiyongjun \(A\) <weiyongjun1@huawei.com>
Tue, 13 Mar 2018 14:54:03 +0000 (14:54 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 Mar 2018 15:39:58 +0000 (23:39 +0800)
commit85f2f730b36d22c451760e7d62373c8493954e0b
tree8955f692225eb7a173c3c86c7255a6ed61100b3e
parentd3bf46261748c325f62f6318f28eae658ef6be73
crypto: inside-secure - fix missing unlock on error in safexcel_ahash_send_req()

Add the missing unlock before return from function
safexcel_ahash_send_req() in the error handling case.

Fixes: da7e83247de9 ("crypto: inside-secure - move cache result dma mapping to request")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel_hash.c