]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: omap-aes - Fix registration of algorithms
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 1 Jun 2016 08:56:02 +0000 (11:56 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 7 Jun 2016 10:41:52 +0000 (18:41 +0800)
commit79beb4e698ca3bf04adccfef91419dcd485b1b56
tree26539599039d606b22b58556fd27a5523abc48bf
parentd74f384dad68ea5c7d0d1d15182e6a3458494ddc
crypto: omap-aes - Fix registration of algorithms

Algorithms can be registered only once. So skip registration of
algorithms if already registered (i.e. in case we have two AES cores
in the system.)

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-aes.c