From: Rajiv Andrade Date: Fri, 12 Nov 2010 21:30:02 +0000 (+0100) Subject: TPM: Long default timeout fix X-Git-Tag: v2.6.38-rc3~74^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4ff4b829ef9e6353c0b133b7adb564a68054979;p=pandora-kernel.git 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 Signed-off-by: James Morris --- Reading git-diff-tree failed