android_kernel_samsung_a7y1.../drivers/char/tpm
Jarkko Sakkinen 3bddd4c5e7 tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete
commit 442601e87a4769a8daba4976ec3afa5222ca211d upstream

Return -E2BIG when the transfer is incomplete. The upper layer does
not retry, so not doing that is incorrect behaviour.

Cc: stable@vger.kernel.org
Fixes: a2871c62e186 ("tpm: Add support for Atmel I2C TPMs")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 15:49:13 +02:00
..
st33zp24 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_acpi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_atmel.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_atmel.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_crb.c tpm/tpm_crb: Avoid unaligned reads in crb_recv() 2020-04-06 15:20:46 +02:00
tpm_eventlog.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_eventlog.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_i2c_atmel.c tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete 2020-04-06 15:49:13 +02:00
tpm_i2c_infineon.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_i2c_nuvoton.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_ibmvtpm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_ibmvtpm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_infineon.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_nsc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_of.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_ppi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm_tis.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm-chip.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm-dev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm-interface.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm-sysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm2-cmd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xen-tpmfront.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30