Re: [PATCH 4/4 v3] add tpm2 capability test flag to tpm_tis driver
From: Jarkko Sakkinen <hidden>
Date: 2016-06-20 14:38:57
Isn't tpm2_probe() call now twice in tpm_tis initialization? On Mon, Jun 20, 2016 at 01:07:09PM +0300, andrew zamansky wrote:
quoted hunk
Signed-off-by: Andrew Azmansky <redacted> --- drivers/char/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c index 30aff5b..859fb8c 100644 --- a/drivers/char/tpm/tpm_tis.c +++ b/drivers/char/tpm/tpm_tis.c@@ -524,7 +524,7 @@ static bool tpm_tis_req_canceled(struct tpm_chip *chip, u8 status) } static const struct tpm_class_ops tpm_tis = { - .flags = TPM_OPS_AUTO_STARTUP, + .flags = TPM_OPS_AUTO_STARTUP | TPM_OPS_PROBE_TPM2, .status = tpm_tis_status, .recv = tpm_tis_recv, .send = tpm_tis_send,-- 1.9.1
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohomanageengine