Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
tpm/tpm_i2c_infineon: Fix init endian vendor check
On my embedded system I use this tpm infineon chip via i2c bus. The system is a MIPS architecture and therefore works in big endian mode. The problem is, that the chip type is not correctly recognized, because the vendor ID is wrongly aligned in the memory. By declaring the vendor ID variable as a `__le32` type, the TPM chip is then correctly recognized by the driver and feels then responsible. The device works than as expected. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
- Loading branch information