Rajiv Andrade c4ff4b829e TPM: Long default timeout fix
If duration variable value is 0 at this point, it's because
chip->vendor.duration wasn't filled by tpm_get_timeouts() yet.
This patch sets then the lowest timeout just to give enough
time for tpm_get_timeouts() to further succeed.

This fix avoids long boot times in case another entity attempts
to send commands to the TPM when the TPM isn't accessible.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
2011-01-24 11:22:48 +11:00
..
2011-01-24 11:22:48 +11:00
2011-01-13 08:03:09 -08:00
2011-01-20 17:02:14 -08:00
2011-01-18 12:22:54 -08:00
2011-01-20 21:37:29 +10:30
2011-01-17 11:15:30 -08:00
2011-01-12 04:59:44 -05:00
2011-01-14 12:38:16 +01:00
2011-01-10 08:51:44 -08:00
2011-01-12 05:14:15 -05:00
2011-01-20 17:02:14 -08:00