diff options
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2009-09-09 17:22:18 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-24 08:43:52 -0700 |
commit | 1e3474abd6ef1fb73773f2ba85874995c82b28b7 (patch) | |
tree | 6a3828aa5879b1f75789cd0de3a8348c59cb2e99 /drivers/mmc/host/at91_mci.c | |
parent | 4e499625e94ea62f93d91832e5a804555b0ea222 (diff) |
TPM: Fixup boot probe timeout for tpm_tis driver
commit ec57935837a78f9661125b08a5d08b697568e040 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mmc/host/at91_mci.c')
0 files changed, 0 insertions, 0 deletions