[PATCH v2 2/2] tpm, tpm_tis: detect TPM2 FIFO devices based on HID

2015-09-29 Thread Jarkko Sakkinen
It turned out that the root cause in b371616b8 was not correct for https://bugzilla.kernel.org/show_bug.cgi?id=98181. All TPM 2.0 FIFO and CRB devices have the same HID. For FIFO devices the start method is always 6. This patch changes FIFO and CRB drivers so that they check start method value

[PATCH v2 2/2] tpm, tpm_tis: detect TPM2 FIFO devices based on HID

2015-09-29 Thread Jarkko Sakkinen
It turned out that the root cause in b371616b8 was not correct for https://bugzilla.kernel.org/show_bug.cgi?id=98181. All TPM 2.0 FIFO and CRB devices have the same HID. For FIFO devices the start method is always 6. This patch changes FIFO and CRB drivers so that they check start method value