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 [PATCH] tpm: driver for next generation TPM chips 2006-04-22 09:19:54 -07:00
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_infineon: add support for devices in mmio space 2007-05-08 11:15:02 -07:00
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