Re: [PATCH] tpm/tpm_i2c_infineon: Fix init endian vendor check

From: Florian Eckert
Date: Mon Sep 13 2021 - 08:25:35 EST


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 <fe@xxxxxxxxxx>
---
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