diff options
| author | Matthew R. Ochs <[email protected]> | 2015-10-21 15:14:24 -0500 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2015-10-30 17:16:05 +0900 |
| commit | ed486daad27afdcb24cee4ea0b1c9f44281e74fc (patch) | |
| tree | 2b7dd170fdc28f99b312553a90e20d34faa7604f /drivers/gpu/drm/amd/amdgpu/atombios_i2c.c | |
| parent | d804621d0275da84caedcf2d6cf03fbe3c9ac3aa (diff) | |
cxlflash: Correct behavior in device reset handler following EEH
When the device reset handler is entered while a reset operation
is taking place, the handler exits without actually sending a
reset (TMF) to the targeted device. This behavior is incorrect
as the device is not reset. Further complicating matters is the
fact that a success is returned even when the TMF was not sent.
To fix, the state is rechecked after coming out of the reset
state. When the state is normal, a TMF will be sent out.
Signed-off-by: Matthew R. Ochs <[email protected]>
Signed-off-by: Manoj N. Kumar <[email protected]>
Reviewed-by: Brian King <[email protected]>
Reviewed-by: Tomas Henzl <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atombios_i2c.c')
0 files changed, 0 insertions, 0 deletions