]> git.baikalelectronics.ru Git - 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)
commitb464c689383a174008ebd37c18e3025ac1e8a942
tree99a735a61fad3b7c304009c0881ae26a13143afa
parentd2dec6ac546b7ff5625842955533c37fda3016a1
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