aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRajiv Andrade <[email protected]>2010-11-12 22:30:02 +0100
committerJames Morris <[email protected]>2011-01-24 11:22:48 +1100
commitc4ff4b829ef9e6353c0b133b7adb564a68054979 (patch)
tree0b32c7b91763144ea587e2965f5a401eea3d537c /tools/perf/util/trace-event-scripting.c
parent5403110943a2dcf1f96416d7a412a8b46895facd (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 <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions