linux/drivers/char/tpm/st33zp24
Jarkko Sakkinen f5595f5baa tpm: Unify the send callback behaviour
The send() callback should never return length as it does not in every
driver except tpm_crb in the success case. The reason is that the main
transmit functionality only cares about whether the transmit was
successful or not and ignores the count completely.

Suggested-by: Stefan Berger <stefanb@linux.ibm.com>
Cc: stable@vger.kernel.org
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>
Tested-by: Alexander Steffen <Alexander.Steffen@infineon.com>
2019-02-13 09:46:26 +02:00
..
i2c.c tpm: Fix some name collisions with drivers/char/tpm.h 2019-02-08 23:13:02 +02:00
Kconfig tpm/st33zp24: Auto-select core module 2016-06-25 17:21:42 +03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spi.c tpm: Fix some name collisions with drivers/char/tpm.h 2019-02-08 23:13:02 +02:00
st33zp24.c tpm: Unify the send callback behaviour 2019-02-13 09:46:26 +02:00
st33zp24.h tpm: Fix some name collisions with drivers/char/tpm.h 2019-02-08 23:13:02 +02:00