Re: [PATCH] tpm: Add sysfs interface to show TPM family version
From: Jason Gunthorpe
Date: Mon Mar 13 2017 - 12:56:36 EST
On Mon, Mar 13, 2017 at 04:59:58PM +0200, Jarkko Sakkinen wrote:
> if (chip->flags & TPM_CHIP_FLAG_TPM2)
> ret = sprintf(buf, "TPM 2.0");
> else
> ret = sprintf(buf, "TPM 1.x");
And 1.x should be 1.2 or 1.1
Jason