Re: [PATCH 2/5] tpm_tis_spi: Abort transfer when too many wait states are signaled

2017-02-24 Thread Jarkko Sakkinen
On Thu, Feb 16, 2017 at 04:08:23PM +, Peter Huewe wrote: > Abort the transfer with ETIMEDOUT when the TPM signals more than > TPM_RETRY wait states. Continuing with the transfer in this state > will only lead to arbitrary failures in other parts of the code. > > Cc: > Fixes: 0edbfea537d1 ("tp

Re: [PATCH 2/5] tpm_tis_spi: Abort transfer when too many wait states are signaled

2017-02-16 Thread Christophe Ricard
Nitpick: Are you sure this patch is necessary having #3 on top of it ? On 16/02/2017 08:08, Peter Huewe wrote: Abort the transfer with ETIMEDOUT when the TPM signals more than TPM_RETRY wait states. Continuing with the transfer in this state will only lead to arbitrary failures in other parts of

[PATCH 2/5] tpm_tis_spi: Abort transfer when too many wait states are signaled

2017-02-16 Thread Peter Huewe
Abort the transfer with ETIMEDOUT when the TPM signals more than TPM_RETRY wait states. Continuing with the transfer in this state will only lead to arbitrary failures in other parts of the code. Cc: Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy") Signed-off-by: Alexander Steffen