tpm: Adjust the durations if they are too small
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 30 Mar 2011 16:13:24 +0000 (12:13 -0400)
committerRajiv Andrade <srajiv@linux.vnet.ibm.com>
Tue, 12 Jul 2011 21:53:07 +0000 (18:53 -0300)
commite934acca1ee993e1d99d7dc203569a6e5cdfb392
treee0ac7a2305c0b2633a798721e5fe5b95c6d89d98
parent979b140614a5459f340f5f8b1641ef77c863d899
tpm: Adjust the durations if they are too small

Adjust the durations if they are found to be too small, i.e., if they are
returned in milliseconds rather than microseconds as some Infineon TPMs are
reported to do.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
drivers/char/tpm/tpm.c