tpm: core: Set timeouts before requesting locality
authorEddie James <eajames@linux.ibm.com>
Fri, 13 May 2022 18:29:59 +0000 (13:29 -0500)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Mon, 23 May 2022 13:32:55 +0000 (16:32 +0300)
commit8d7199da3fa40d5a8d4a89d98c630bb8b92d7554
tree62e3f403e1dfefb68f06a697f98f14160aa4f192
parent6f00b97d7e5760d92566317dde6c4b9224790827
tpm: core: Set timeouts before requesting locality

Requesting the locality uses the timeout values, so they need
to be set beforehand.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/tpm/tpm2_tis_core.c