tpm_crb: fix incorrect values of cmdReady and goIdle bits
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 2 Sep 2016 19:34:20 +0000 (22:34 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 15 Sep 2016 13:04:21 +0000 (16:04 +0300)
CRB_CTRL_CMD_READY and CRB_CTRL_GO_IDLE have incorrect values.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm_crb.c

index c8b0d91d97908f49670c4ba838ed4388ac5d7083..7f602dc1f9bb4d6dc4ce05940936bf4b690e8525 100644 (file)
@@ -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 {