]> www.infradead.org Git - users/dwmw2/linux.git/commit
crypto: sun8i-ss - fix removal of module
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Mon, 6 Jan 2020 19:28:52 +0000 (20:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2020 12:37:00 +0000 (04:37 -0800)
commit415ee076db5c4d67b4bf2ba4c1a701f9635e83b6
tree80ca1e46f8871e4d9d10291310014dfa7b974d63
parentd1a27a3e16f9cc023df9a5c6c4d0081fdab60ba6
crypto: sun8i-ss - fix removal of module

commit 7b3d853ead8187288bf99df38ed71ee02773a65f upstream.

Removing the driver cause an oops due to the fact we clean an extra
channel.
Let's give the right index to the cleaning function.
Fixes: f08fcced6d00 ("crypto: allwinner - Add sun8i-ss cryptographic offloader")
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c