]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: stm32/hash - Fix self test issue during export
authorLionel Debieve <lionel.debieve@st.com>
Mon, 8 Apr 2019 07:41:58 +0000 (09:41 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Apr 2019 14:14:57 +0000 (22:14 +0800)
commit5577224b80cf6c6c7a6740ef61821786a5270f51
tree3e37031d86dd3cb344f9b94e82860ce4fbfaf40d
parent039a7aa94995d52bb46d5e3e7735cc2f2120c889
crypto: stm32/hash - Fix self test issue during export

Change the wait condition to check if the hash is busy.
Context can be saved as soon as hash has finishing processing
data. Remove unused lock in the device structure.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/stm32/stm32-hash.c