Re: [PATCH] tpm/tpm_i2c_infineon: Fix init endian vendor check
From: Florian Eckert <hidden>
Date: 2021-09-13 12:25:35
Also in:
lkml
From: Florian Eckert <hidden>
Date: 2021-09-13 12:25:35
Also in:
lkml
quoted
By converting the vendor ID with ie32_to_cpus() to the correct format, the TPM chip is recognised by the driver and works as expected. Signed-off-by: Florian Eckert <redacted> --- drivers/char/tpm/tpm_i2c_infineon.c | 2 ++ 1 file changed, 2 insertions(+)vendor should be marked as a __le32 and so forth
Thanks for your feedback. I will push a v2.
Jason