From: Jarkko Sakkinen Date: Fri, 2 Sep 2016 19:34:20 +0000 (+0300) Subject: tpm_crb: fix incorrect values of cmdReady and goIdle bits X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f39a9e97d77cae603e70c78ac82c181f93455fd1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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 {