diff options
| author | Peter Huewe <[email protected]> | 2017-03-02 13:03:12 +0000 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2017-04-03 22:46:01 +0300 |
| commit | 975094ddc369a32f27210248bdd9bbd153061b00 (patch) | |
| tree | a6368da8b555ef4c3ce5b5cd55637c8ad9ff0ede /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | f848f2143ae42dc0918400039257a893835254d1 (diff) | |
tpm_tis_spi: Abort transfer when too many wait states are signaled
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: <[email protected]>
Fixes: 0edbfea537d1 ("tpm/tpm_tis_spi: Add support for spi phy")
Signed-off-by: Alexander Steffen <[email protected]>
Signed-off-by: Peter Huewe <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Tested-by: Benoit Houyere <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions