projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6862918
)
crypto: stm32 - Save 54 CSR registers
author
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 11 Mar 2023 09:09:10 +0000
(17:09 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 17 Mar 2023 03:16:44 +0000
(11:16 +0800)
The CSR registers go from 0 to 53. So the number of registers
should be 54.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/stm32/stm32-hash.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/stm32/stm32-hash.c
b/drivers/crypto/stm32/stm32-hash.c
index
7bf8055
..
bde2b40
100644
(file)
--- a/
drivers/crypto/stm32/stm32-hash.c
+++ b/
drivers/crypto/stm32/stm32-hash.c
@@
-68,7
+68,7
@@
#define HASH_MASK_DATA_INPUT BIT(1)
/* Context swap register */
-#define HASH_CSR_REGISTER_NUMBER 5
3
+#define HASH_CSR_REGISTER_NUMBER 5
4
/* Status Flags */
#define HASH_SR_DATA_INPUT_READY BIT(0)