OSDN Git Service

crypto: caam - fix queue interface detection
authorKim Phillips <kim.phillips@freescale.com>
Tue, 12 Apr 2011 00:15:21 +0000 (19:15 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 2 May 2011 23:53:35 +0000 (09:53 +1000)
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>
drivers/crypto/caam/regs.h

index d063a26..aee394e 100644 (file)
@@ -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];