]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
crypto: talitos - don't check the number of channels at each interrupt
authorLEROY Christophe <christophe.leroy@c-s.fr>
Fri, 6 Oct 2017 13:04:55 +0000 (15:04 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Oct 2017 14:55:32 +0000 (22:55 +0800)
commit9c02e2852fcabf0e1542929e887867d01414dec6
tree99a735a61fad3b7c304009c0881ae26a13143afa
parentfd5ea7f011932d121e89e470992aaff8547c761f
crypto: talitos - don't check the number of channels at each interrupt

The number of channels is known from the beginning, no need to
test it everytime.
This patch defines two additional done functions handling only channel 0.
Then the probe registers the correct one based on the number of channels.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c
drivers/crypto/talitos.h