summaryrefslogtreecommitdiff
path: root/drivers/crypto/allwinner
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2022-02-21 11:52:34 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2022-03-03 10:46:19 +1200
commit2f5ee72ee950a677069ee8ab75af40cebba3bb3c (patch)
tree558bdf51efae37baaa6fcf1444de4198f13f4efe /drivers/crypto/allwinner
parent53e748c2758ca24854b6ce89fb08a93a36772dc0 (diff)
downloadlinux-2f5ee72ee950a677069ee8ab75af40cebba3bb3c.tar.gz
crypto: cavium/zip - register algorithm only if hardware is present
On my renesas salavator-X, I saw some cavium driver failing crypto self-tests. But salvator does not have such hardware. This is due to cavium/zip driver registering algorithms even if hardware is not present. The solution is to move algorithm registration in the probe function. This permits also to simplify module init/exit by using module_pci_driver. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/allwinner')
0 files changed, 0 insertions, 0 deletions