diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2018-01-07 15:14:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-08 18:27:22 +0300 |
commit | b070ed04c3fb1b643ea50f2a270b1793e4a5f2f5 (patch) | |
tree | 5232016d3a94fd6eab45c246935c22c2c6ffc88a /drivers/staging/ccree/ssi_driver.c | |
parent | 1b33fb7aed99182b116370f55f2ea43d41ff6c2c (diff) | |
download | linux-b070ed04c3fb1b643ea50f2a270b1793e4a5f2f5.tar.xz |
staging: ccree: copy larval digest from RAM
The ccree driver was using a DMA operation to copy larval digest
from the ccree SRAM to RAM. Replace it with a simple memcpy.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree/ssi_driver.c')
-rw-r--r-- | drivers/staging/ccree/ssi_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c index 3eabefb34f5f..b5df9b4d85b0 100644 --- a/drivers/staging/ccree/ssi_driver.c +++ b/drivers/staging/ccree/ssi_driver.c @@ -484,6 +484,8 @@ static int __init ccree_init(void) { int ret; + cc_hash_global_init(); + ret = cc_debugfs_global_init(); if (ret) return ret; |