diff options
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2009-09-09 23:22:18 (GMT) |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-09-10 09:19:09 (GMT) |
commit | ec57935837a78f9661125b08a5d08b697568e040 (patch) | |
tree | 31379df297fc188ba5120edc8db9bc628f30d319 /arch | |
parent | ddd29ec6597125c830f7badb608a86c98b936b64 (diff) | |
download | linux-fsl-qoriq-ec57935837a78f9661125b08a5d08b697568e040.tar.xz |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions