summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2011-04-12 02:15:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-05-03 01:53:35 +0200
commitf3af98681f16063d110075eba79a8621ae9a376a (patch)
tree122d3607b38e4e36706fb0ae8e55a8e17bdc2d3c
parentcrypto: caam - handle interrupt lines shared across rings (diff)
downloadlinux-f3af98681f16063d110075eba79a8621ae9a376a.tar.xz
linux-f3af98681f16063d110075eba79a8621ae9a376a.zip
crypto: caam - fix queue interface detection
The presence of a h/w Queue Interface would fail due to this cut-n-paste snafu. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/caam/regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/regs.h b/drivers/crypto/caam/regs.h
index d063a260958b..aee394e39056 100644
--- a/drivers/crypto/caam/regs.h
+++ b/drivers/crypto/caam/regs.h
@@ -131,7 +131,7 @@ struct caam_perfmon {
/* CAAM Hardware Instantiation Parameters fa0-fbf */
u64 cha_rev; /* CRNR - CHA Revision Number */
#define CTPR_QI_SHIFT 57
-#define CTPR_QI_MASK (0x1ull << CHA_NUM_DECONUM_SHIFT)
+#define CTPR_QI_MASK (0x1ull << CTPR_QI_SHIFT)
u64 comp_parms; /* CTPR - Compile Parameters Register */
u64 rsvd1[2];