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-20 17:02:14 -08:00
2011-01-13 08:03:23 -08:00
2010-12-17 15:18:05 +01:00
2011-01-10 08:51:44 -08:00
2010-10-22 10:20:02 -07:00