linux/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
Makefile
tpm_atmel.c
tpm_atmel.h
tpm_bios.c TPM: get_event_name stack corruption 2009-05-20 08:30:05 +10:00
tpm_infineon.c
tpm_nsc.c
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