crypto: omap-aes - Add support for multiple cores
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 4 Aug 2016 10:28:43 +0000 (13:28 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 13 Sep 2016 12:22:06 +0000 (20:22 +0800)
commit164f3ef301bff9741a00ff7015f9d51f1b864201
tree8619ca311244efbd0f77bce041bc17ba7f3a4118
parentf303b455bb95233297c179b525a851a792e469b2
crypto: omap-aes - Add support for multiple cores

Some SoCs like omap4/omap5/dra7 contain multiple AES crypto accelerator
cores. Adapt the driver to support this. The driver picks the last used
device from a list of AES devices.

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