]> 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)
commitc3ef7d39b3fd7914e09115ec6380c92674d16df3
tree3e37031d86dd3cb344f9b94e82860ce4fbfaf40d
parentd429bb54037e249fb9543b3e766c096b45b0887b
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