summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/desc.h
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2011-12-12 14:59:15 -0600
committerHerbert Xu <herbert@gondor.apana.org.au>2011-12-20 15:20:04 +0800
commita2ecb155a30fea933cc539fc2064fef825fd9511 (patch)
treeecb4517d5ab2e89fbc73f4df477e605907601676 /drivers/crypto/caam/desc.h
parentb028b546a6a36aa70ec504c00d3d94fae32acf86 (diff)
downloadlinux-a2ecb155a30fea933cc539fc2064fef825fd9511.tar.bz2
crypto: caam - fix polarity of "propagate error" logic
the polarity of the definition for error propagation was reverse in the initial desc.h. Fix desc.h and its users. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/desc.h')
-rw-r--r--drivers/crypto/caam/desc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h
index 6984cc564932..a17c2958dab1 100644
--- a/drivers/crypto/caam/desc.h
+++ b/drivers/crypto/caam/desc.h
@@ -233,8 +233,8 @@
#define LDOFF_CHG_SHARE_SHIFT 0
#define LDOFF_CHG_SHARE_MASK (0x3 << LDOFF_CHG_SHARE_SHIFT)
#define LDOFF_CHG_SHARE_NEVER (0x1 << LDOFF_CHG_SHARE_SHIFT)
-#define LDOFF_CHG_SHARE_OK_NO_PROP (0x2 << LDOFF_CHG_SHARE_SHIFT)
-#define LDOFF_CHG_SHARE_OK_PROP (0x3 << LDOFF_CHG_SHARE_SHIFT)
+#define LDOFF_CHG_SHARE_OK_PROP (0x2 << LDOFF_CHG_SHARE_SHIFT)
+#define LDOFF_CHG_SHARE_OK_NO_PROP (0x3 << LDOFF_CHG_SHARE_SHIFT)
#define LDOFF_ENABLE_AUTO_NFIFO (1 << 2)
#define LDOFF_DISABLE_AUTO_NFIFO (1 << 3)