]> git.baikalelectronics.ru Git - kernel.git/commit
tpm_tis: Add timeouts sysfs entry
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 30 Mar 2011 16:13:28 +0000 (12:13 -0400)
committerRajiv Andrade <srajiv@linux.vnet.ibm.com>
Tue, 12 Jul 2011 21:53:08 +0000 (18:53 -0300)
commitddfe98801bd1bb01fdc84a451306d79f0f50cc37
tree41cdcab9da0e98e93f1b30b31d58ca13abd3ca9b
parent31fd6ba99e98ef24a2cb4d9c1fb913876f0034a3
tpm_tis: Add timeouts sysfs entry

Display the TPM's interface timeouts in a 'timeouts' sysfs entry. Display
the entries as having been adjusted when they were scaled due to their values
being reported in milliseconds rather than microseconds.

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
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm_tis.c