Re: [PATCH] crypto: caam - fix incorrect define

2017-11-03 Thread Herbert Xu
On Tue, Oct 24, 2017 at 09:27:30AM +0300, Horia Geantă wrote:
> From: Radu Alexe 
> 
> Fixes: 3ebfa92f49a6 ("crypto: caam - Add new macros for building extended SEC 
> descriptors (> 64 words)")
> Signed-off-by: Radu Alexe 
> Signed-off-by: Horia Geantă 

Patch applied.  Thanks.
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


[PATCH] crypto: caam - fix incorrect define

2017-10-24 Thread Horia Geantă
From: Radu Alexe 

Fixes: 3ebfa92f49a6 ("crypto: caam - Add new macros for building extended SEC 
descriptors (> 64 words)")
Signed-off-by: Radu Alexe 
Signed-off-by: Horia Geantă 
---
 drivers/crypto/caam/desc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h
index 2e6766a1573f..2386d3e2d2c9 100644
--- a/drivers/crypto/caam/desc.h
+++ b/drivers/crypto/caam/desc.h
@@ -1439,7 +1439,7 @@
 #define MATH_SRC1_REG2 (0x02 << MATH_SRC1_SHIFT)
 #define MATH_SRC1_REG3 (0x03 << MATH_SRC1_SHIFT)
 #define MATH_SRC1_IMM  (0x04 << MATH_SRC1_SHIFT)
-#define MATH_SRC1_DPOVRD   (0x07 << MATH_SRC0_SHIFT)
+#define MATH_SRC1_DPOVRD   (0x07 << MATH_SRC1_SHIFT)
 #define MATH_SRC1_INFIFO   (0x0a << MATH_SRC1_SHIFT)
 #define MATH_SRC1_OUTFIFO  (0x0b << MATH_SRC1_SHIFT)
 #define MATH_SRC1_ONE  (0x0c << MATH_SRC1_SHIFT)
-- 
2.12.0.264.gd6db3f216544