Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1475423

[PATCH 4/4] tpm_crb: fix incorrect values of cmdReady and goIdle bits

From Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH 4/4] tpm_crb: fix incorrect values of cmdReady and goIdle bits
Date 2016-09-02 21:40 +0200
Message-ID <sd2tH-3Bl-3@gated-at.bofh.it> (permalink)
References <sd2tH-3Bl-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c
index c8b0d91..7f602dc 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 {
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] Small fixes and cleanups for tpm_crb Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-09-02 21:40 +0200
  [PATCH 1/4] tpm_crb: fix crb_req_canceled behavior Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-09-02 21:40 +0200
  [PATCH 4/4] tpm_crb: fix incorrect values of cmdReady and goIdle bits Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-09-02 21:40 +0200
    Re: [PATCH 4/4] tpm_crb: fix incorrect values of cmdReady and goIdle  bits Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-09-02 21:50 +0200
  [PATCH 3/4] tpm_crb: refine the naming of constants Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-09-02 21:40 +0200
  [PATCH 2/4] tpm_crb: remove wmb()'s Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-09-02 21:40 +0200
  Re: [PATCH 0/4] Small fixes and cleanups for tpm_crb Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-09-03 08:40 +0200
    Re: [PATCH 0/4] Small fixes and cleanups for tpm_crb Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-09-03 08:50 +0200
  Re: [PATCH 0/4] Small fixes and cleanups for tpm_crb Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-09-08 12:30 +0200
    Re: [PATCH 0/4] Small fixes and cleanups for tpm_crb Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-09-08 13:40 +0200

csiph-web