android_kernel_xiaomi_sm8350/drivers/char/tpm
Jason Gunthorpe ec57935837 TPM: Fixup boot probe timeout for tpm_tis driver
When probing the device in tpm_tis_init the call request_locality
uses timeout_a, which wasn't being initalized until after
request_locality. This results in request_locality falsely timing
out if the chip is still starting. Move the initialization to before
request_locality.

This probably only matters for embedded cases (ie mine), a BIOS likely
gets the TPM into a state where this code path isn't necessary.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
2009-09-10 19:19:09 +10:00
..
Kconfig securityfs: do not depend on CONFIG_SECURITY 2008-08-28 10:47:42 +10:00
Makefile
tpm_atmel.c platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver' 2009-03-24 16:38:25 -07:00
tpm_atmel.h
tpm_bios.c TPM: get_event_name stack corruption 2009-05-20 08:30:05 +10:00
tpm_infineon.c tpm: correct email address for tpm_infineon-driver 2009-02-11 14:25:35 -08:00
tpm_nsc.c tpm: clean up tpm_nsc driver for platform_device suspend/resume compliance 2009-01-08 08:31:12 -08:00
tpm_tis.c TPM: Fixup boot probe timeout for tpm_tis driver 2009-09-10 19:19:09 +10:00
tpm.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
tpm.h TPM: integrity interface 2009-02-03 11:23:12 +11:00