]> www.infradead.org Git - users/dwmw2/linux.git/commit
crypto: sun8i-ss - really disable hash on A80
authorCorentin Labbe <clabbe@baylibre.com>
Sat, 15 Jan 2022 10:07:14 +0000 (10:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:32 +0000 (13:57 +0200)
commitec9b596e4cb8db3224f68bce77d198d071fc5cfd
tree9ce70515677e74b8228a2f9e3668a7afa698e9e7
parentf6d1d0777fcd3e2ffd8143079c41dba987c9fcfd
crypto: sun8i-ss - really disable hash on A80

[ Upstream commit 881fc7fba6c3e7d77d608b9a50b01a89d5e0c61b ]

When adding hashes support to sun8i-ss, I have added them only on A83T.
But I forgot that 0 is a valid algorithm ID, so hashes are enabled on A80 but
with an incorrect ID.
Anyway, even with correct IDs, hashes do not work on A80 and I cannot
find why.
So let's disable all of them on A80.

Fixes: d9b45418a917 ("crypto: sun8i-ss - support hash algorithms")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c