summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2016-09-02 22:34:20 +0300
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2016-09-15 16:04:21 +0300
commitf39a9e97d77cae603e70c78ac82c181f93455fd1 (patch)
tree96ada9beaaa2bbf0a1124bb300414c184338481b /drivers/char
parent7fd10d61852d1947005c05575849f21bc32f0acf (diff)
downloadlinux-f39a9e97d77cae603e70c78ac82c181f93455fd1.tar.xz
tpm_crb: fix incorrect values of cmdReady and goIdle bits
CRB_CTRL_CMD_READY and CRB_CTRL_GO_IDLE have incorrect values. Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/tpm/tpm_crb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c
index c8b0d91d9790..7f602dc1f9bb 100644
--- a/drivers/char/tpm/tpm_crb.c
+++ b/drivers/char/tpm/tpm_crb.c
@@ -35,8 +35,8 @@ enum crb_defaults {
};
enum crb_ctrl_req {
- CRB_CTRL_REQ_GO_IDLE = BIT(0),
- CRB_CTRL_REQ_CMD_READY = BIT(1),
+ CRB_CTRL_REQ_CMD_READY = BIT(0),
+ CRB_CTRL_REQ_GO_IDLE = BIT(1),
};
enum crb_ctrl_sts {