android_kernel_xiaomi_sm8350/drivers/char/tpm
Marcel Selhorst 05a462afe8 TPM: fix TIS device driver locality request
During the initialization of the TPM TIS driver, the necessary locality has
to be requested earlier in the init-process.  Depending on the used TPM
chip, this leads to wrong information.  For example: Lenovo X61s with Atmel
TPM:

tpm_tis 00:0a: 1.2 TPM (device-id 0xFFFF, rev-id 255)

But correct is:

tpm_tis 00:0c: 1.2 TPM (device-id 0x3203, rev-id 9)

This short patch fixes this issue.

Signed-off-by: Marcel Selhorst <tpm@selhorst.net>
Cc: Kylene Jo Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-29 09:24:52 -08:00
..
Kconfig Use menuconfig objects II - TPM 2007-07-16 09:05:40 -07:00
Makefile
tpm_atmel.c tpmdd maintainers 2007-08-22 19:52:44 -07:00
tpm_atmel.h tpmdd maintainers 2007-08-22 19:52:44 -07:00
tpm_bios.c tpmdd maintainers 2007-08-22 19:52:44 -07:00
tpm_infineon.c
tpm_nsc.c tpmdd maintainers 2007-08-22 19:52:44 -07:00
tpm_tis.c TPM: fix TIS device driver locality request 2007-11-29 09:24:52 -08:00
tpm.c tpmdd maintainers 2007-08-22 19:52:44 -07:00
tpm.h tpmdd maintainers 2007-08-22 19:52:44 -07:00