diff options
author | Bryan Freed <[email protected]> | 2017-05-22 11:20:11 +0200 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2017-06-13 22:02:08 +0300 |
commit | d8c3eab5cb92f37ca8576fc641fa4bfd8a0c8b00 (patch) | |
tree | 18c9216bda1e1697579ef111f68c5bad8f008316 /net/unix/af_unix.c | |
parent | 4cb586a188d468e05649575f0689dd2bf8c122e6 (diff) |
tpm: Apply a sane minimum adapterlimit value for retransmission.
When the I2C Infineon part is attached to an I2C adapter that imposes
a size limitation, large requests will fail with -EOPNOTSUPP. Retry
them with a sane minimum size without re-issuing the 0x05 command
as this appears to occasionally put the TPM in a bad state.
Signed-off-by: Bryan Freed <[email protected]>
[rework the patch to adapt to the feedback received]
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Acked-by: Andrew Lunn <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions