diff options
author | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | 2010-11-12 22:30:02 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-01-24 11:22:48 +1100 |
commit | c4ff4b829ef9e6353c0b133b7adb564a68054979 (patch) | |
tree | 0b32c7b91763144ea587e2965f5a401eea3d537c /drivers/char/synclinkmp.c | |
parent | 5403110943a2dcf1f96416d7a412a8b46895facd (diff) |
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>
Diffstat (limited to 'drivers/char/synclinkmp.c')
0 files changed, 0 insertions, 0 deletions