aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorMatthew R. Ochs <[email protected]>2015-10-21 15:13:29 -0500
committerJames Bottomley <[email protected]>2015-10-30 17:11:38 +0900
commit8396012ff77affe4def5f0e5757b6c4e8107b33e (patch)
tree1c41e1b8488a7492902a71b57a8daa7213bea0f6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent018d1dc9558e748e271cd1600c698f68cba3fb09 (diff)
cxlflash: Fix location of setting resid
The resid is incorrectly set which can lead to unnecessary retry attempts by the stack. This is due to resid _always_ being set using a value returned from the adapter. Instead, the value should only be interpreted and set when in an underrun scenario. 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/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions