]> git.baikalelectronics.ru Git - kernel.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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Jan 2020 07:18:12 +0000 (15:18 +0800)
commit5df50744093054b04e37104c271f2994c8b564ed
tree8c3dc3c537f3f5ae7070de6aeac512ee4c14ebc4
parent9e51b9f407e92e4af7e8b5158f0685848e040643
crypto: sun8i-ss - fix removal of module

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: da6d15b4f8cc ("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>
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c