diff options
| author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2019-04-23 15:44:48 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-27 09:34:00 +0200 |
| commit | 83a98463d6f97a9736241bdc7a5002e17893a0b1 (patch) | |
| tree | b65f795a254d695d7ed6e5c2e5de38b37ad3d7c9 /tools/perf/scripts/python | |
| parent | 5721b1717bd689321cc192d57e42ab7dcc5fe959 (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
