• Linus Torvalds's avatar
    Revert "TPM: Long default timeout fix" · 8d1dc20e
    Linus Torvalds authored
    This reverts commit c4ff4b82.
    
    Ted Ts'o reports:
    
     "TPM is working for me so I can log into employer's network in 2.6.37.
      It broke when I tried 2.6.38-rc6, with the following relevant lines
      from my dmesg:
    
      [   11.081627] tpm_tis 00:0b: 1.2 TPM (device-id 0x0, rev-id 78)
      [   25.734114] tpm_tis 00:0b: Operation Timed out
      [   78.040949] tpm_tis 00:0b: Operation Timed out
    
      This caused me to get suspicious, especially since the _other_ TPM
      commit in 2.6.38 had already been reverted, so I tried reverting
      commit c4ff4b82: "TPM: Long default timeout fix".  With this commit
      reverted, my TPM on my Lenovo T410 is once again working."
    Requested-and-tested-by: default avatarTheodore Ts'o <tytso@mit.edu>
    Acked-by: default avatarRajiv Andrade <srajiv@linux.vnet.ibm.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    8d1dc20e
tpm.c 29.5 KB