提交 0373d085 编写于 作者: L lionel.debieve@st.com 提交者: Herbert Xu

crypto: stm32 - solve crc issue during unbind

Use the correct unregister_shashes function to
to remove the registered algo
Signed-off-by: NLionel Debieve <lionel.debieve@st.com>
Reviewed-by: NFabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 39177519
......@@ -296,7 +296,7 @@ static int stm32_crc_remove(struct platform_device *pdev)
list_del(&crc->list);
spin_unlock(&crc_list.lock);
crypto_unregister_shash(algs);
crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
clk_disable_unprepare(crc->clk);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册