From: Dmitry Kasatkin Date: Wed, 20 Apr 2011 10:34:57 +0000 (+0300) Subject: crypto: omap-sham - enable driver for EMU chips X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=528d26f57acd112fef78cd455db78e69a1ac39fd;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git crypto: omap-sham - enable driver for EMU chips EMU chips also have crypto HW as HS chips. Signed-off-by: Dmitry Kasatkin Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 50aca41712b5..f5c01dc363d4 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c @@ -1295,7 +1295,8 @@ static int __init omap_sham_mod_init(void) pr_info("loading %s driver\n", "omap-sham"); if (!cpu_class_is_omap2() || - omap_type() != OMAP2_DEVICE_TYPE_SEC) { + (omap_type() != OMAP2_DEVICE_TYPE_SEC && + omap_type() != OMAP2_DEVICE_TYPE_EMU)) { pr_err("Unsupported cpu\n"); return -ENODEV; }