]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: xen-tpmfront: Fix default durations
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Mon, 23 Sep 2013 18:14:33 +0000 (12:14 -0600)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 24 Sep 2013 20:14:55 +0000 (16:14 -0400)
commit6830c897398bb4e9a945b8acf9486f3200f3d9aa
treec8296347197f7f5d6c493fec71d600b26a540ccc
parent050cedae3be8ad48ff598a7baaa5ff44e915d3f1
tpm: xen-tpmfront: Fix default durations

All the default durations were being set to 10 minutes which is
way too long for the timeouts. Normal values for the longest
duration are around 5 mins, and short duration ar around .5s.

Further, these are just the default, tpm_get_timeouts will set
them to values from the TPM (or throw an error).

Just remove them.

Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/char/tpm/xen-tpmfront.c