]> asedeno.scripts.mit.edu Git - linux.git/commit
tpm: delete the TPM_TIS_CLK_ENABLE flag
authorJavier Martinez Canillas <javierm@redhat.com>
Mon, 25 Dec 2017 02:22:49 +0000 (03:22 +0100)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 8 Jan 2018 10:58:38 +0000 (12:58 +0200)
commit764325add6c2ad1641199edde7b2995495fc2d7c
treea7c1f13dbd358ca68c139fc2db7731f00b156877
parent2463c4d09eade70dd6b9926137c613ffdd36707c
tpm: delete the TPM_TIS_CLK_ENABLE flag

This flag is only used to warn if CLKRUN_EN wasn't disabled on Braswell
systems, but the only way this can happen is if the code is not correct.

So it's an unnecessary check that just makes the code harder to read.

Suggested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm_tis.c
drivers/char/tpm/tpm_tis_core.c
drivers/char/tpm/tpm_tis_core.h