From: Kim Phillips Date: Tue, 12 Apr 2011 00:15:21 +0000 (-0500) Subject: crypto: caam - fix queue interface detection X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f3af98681f16063d110075eba79a8621ae9a376a;p=linux-beck.git 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 Signed-off-by: Herbert Xu --- 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];