diff options
| author | Peter Huewe <[email protected]> | 2017-03-02 13:03:13 +0000 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2017-04-03 22:46:01 +0300 |
| commit | e110cc69dc2ad679d6d478df636b99b14e6fbbc9 (patch) | |
| tree | 55029043595c6bec5e6e50cf90f91a9b4ad81d6c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 975094ddc369a32f27210248bdd9bbd153061b00 (diff) | |
tpm_tis_spi: Check correct byte for wait state indicator
Wait states are signaled in the last byte received from the TPM in
response to the header, not the first byte. Check rx_buf[3] instead of
rx_buf[0].
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