Isn't tpm2_probe() call now twice in tpm_tis initialization? On Mon, Jun 20, 2016 at 01:07:09PM +0300, andrew zamansky wrote: > Signed-off-by: Andrew Azmansky <andrew.zamansky@xxxxxxxxxxx> > --- > 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 > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html