diff options
author | Valdis Kletnieks <valdis.kletnieks@vt.edu> | 2008-10-16 07:04:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 20:21:49 +0200 |
commit | 292cf4a8a989cb564a6a5f0ba7a66e08a095afa1 (patch) | |
tree | 6db1701350102a4ee9aa19aac366e166db475a48 /drivers/char/dtlk.c | |
parent | tpm: correct tpm timeouts to jiffies conversion (diff) | |
download | linux-292cf4a8a989cb564a6a5f0ba7a66e08a095afa1.tar.xz linux-292cf4a8a989cb564a6a5f0ba7a66e08a095afa1.zip |
tpm: work around bug in Broadcom BCM0102 chipset
Patch tpm-correct-tpm-timeouts-to-jiffies-conversion reveals a bug in the
Broadcom BCM0102 TPM chipset used in the Dell Latitude D820 - although
most of the timeouts are returned in usecs as per the spec, one is
apparently returned in msecs, which results in a too-small value leading
to a timeout when the code treats it as usecs. To prevent a regression,
we check for the known too-short value and adjust it to a value that makes
things work.
Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Cc: Marcin Obara <marcin_obara@users.sourceforge.net>
Cc: Marcel Selhorst <tpm@selhorst.net>
Cc: Kylene Jo Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/dtlk.c')
0 files changed, 0 insertions, 0 deletions