commit | 5adc8bdea6a77bdb457d9cbca9a49a7d01cc25cd | [log] [tgz] |
---|---|---|
author | Stephen Douthit <stephend@silicom-usa.com> | Tue Feb 27 14:17:11 2018 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Fri Mar 02 10:59:36 2018 -0500 |
tree | 845cf810edf1339d3bcfb80d654577bdd4b09945 | |
parent | 96060ad1c38a3e90125aa4676b30828be126a4d5 [diff] |
tpm: Handle unimplemented TIS_REG_IFACE_ID in tis_get_tpm_version() If a device reports 0xf in the InterfaceType field of the TPM_INTERFACE_ID, then the rest of the fields are invalid, and the InterfaceVersion field of the TPM_INTF_CAPABILITY register must be checked instead. Signed-off-by: Stephen Douthit <stephend@silicom-usa.com> Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>